✨(backend) allow forcing page size within limits
We want to be able to increase the page size with by passing the query string parameter "page_size".
This commit is contained in:
committed by
Manuel Raynaud
parent
757d7f35cd
commit
fcf8b38021
@@ -418,6 +418,7 @@ class DocumentViewSet(
|
||||
metadata_class = DocumentMetadata
|
||||
ordering = ["-updated_at"]
|
||||
ordering_fields = ["created_at", "updated_at", "title"]
|
||||
pagination_class = Pagination
|
||||
permission_classes = [
|
||||
permissions.DocumentAccessPermission,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user