Remove superfluous calls to all()
This commit is contained in:
@ -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,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user