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

@ -70,7 +70,7 @@ class Shelf(View):
"is_self": is_self,
"shelves": shelves.all(),
"shelf": shelf,
"books": paginated.page(page),
"books": paginated.get_page(page),
}
return TemplateResponse(request, "user/shelf.html", data)