Fixes reference to landing page books

This commit is contained in:
Mouse Reeve 2021-08-07 15:10:09 -07:00
parent e3cbf30684
commit 760bd5a63f
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ def populate_streams():
users = models.User.objects.filter(
local=True,
is_active=True,
)
).order_by("last_active_date")
for user in users:
for stream in activitystreams.streams.values():
stream.populate_streams(user)

View file

@ -170,9 +170,9 @@ class InviteRequest(View):
data = {
"request_form": form,
"request_received": received,
"books": helpers.get_discover_books(),
"books": helpers.get_landing_books(),
}
return TemplateResponse(request, "discover/discover.html", data)
return TemplateResponse(request, "landing/landing.html", data)
@require_POST