1
0
Fork 0

902 using get_page for Paginator instead of page

This commit is contained in:
Pablo Barton 2021-04-14 21:57:34 -04:00
parent 1e96191414
commit 88d37736ee
10 changed files with 14 additions and 14 deletions

View file

@ -44,7 +44,7 @@ class Lists(View):
paginated = Paginator(lists, 12)
data = {
"lists": paginated.page(page),
"lists": paginated.get_page(page),
"list_form": forms.ListForm(),
"path": "/list",
}
@ -79,7 +79,7 @@ class UserLists(View):
data = {
"user": user,
"is_self": request.user.id == user.id,
"lists": paginated.page(page),
"lists": paginated.get_page(page),
"list_form": forms.ListForm(),
"path": user.local_path + "/lists",
}