Skip to content
Snippets Groups Projects
Commit 9e126c9c authored by Jonas Braathen's avatar Jonas Braathen
Browse files

Merge branch 'page-size-query-param' into 'master'

Allow page size to be configured in the request

See merge request !347
parents 40bd5d38 6552ed7a
No related branches found
No related tags found
1 merge request!347Allow page size to be configured in the request
Pipeline #155450 passed
......@@ -4,3 +4,4 @@ from rest_framework.pagination import CursorPagination
class PrimaryKeyCursorPagination(CursorPagination):
ordering = "pk"
page_size = 100
page_size_query_param = "page_size"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment