Remove superfluous calls to all()
This commit is contained in:
parent
d69ce8cbbd
commit
77775d9bf8
7 changed files with 7 additions and 8 deletions
|
@ -61,7 +61,7 @@ class Shelf(View):
|
|||
return ActivitypubResponse(shelf.to_activity(**request.GET))
|
||||
|
||||
paginated = Paginator(
|
||||
shelf.books.order_by("-updated_date").all(),
|
||||
shelf.books.order_by("-updated_date"),
|
||||
PAGE_LENGTH,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue