902 using get_page for Paginator instead of page
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user