902 using get_page for Paginator instead of page
This commit is contained in:
parent
1e96191414
commit
88d37736ee
10 changed files with 14 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue