mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-04 06:18:49 +00:00
Fixes reference to landing page books
This commit is contained in:
parent
e3cbf30684
commit
760bd5a63f
2 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ def populate_streams():
|
||||||
users = models.User.objects.filter(
|
users = models.User.objects.filter(
|
||||||
local=True,
|
local=True,
|
||||||
is_active=True,
|
is_active=True,
|
||||||
)
|
).order_by("last_active_date")
|
||||||
for user in users:
|
for user in users:
|
||||||
for stream in activitystreams.streams.values():
|
for stream in activitystreams.streams.values():
|
||||||
stream.populate_streams(user)
|
stream.populate_streams(user)
|
||||||
|
|
|
@ -170,9 +170,9 @@ class InviteRequest(View):
|
||||||
data = {
|
data = {
|
||||||
"request_form": form,
|
"request_form": form,
|
||||||
"request_received": received,
|
"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
|
@require_POST
|
||||||
|
|
Loading…
Reference in a new issue