Actually allow customizing the page size

This commit is contained in:
Jake Howard 2024-02-05 19:40:39 +00:00
parent 7d3605f5e1
commit 4c600651b6
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -3,4 +3,5 @@ from rest_framework.pagination import PageNumberPagination
class CustomPageNumberPagination(PageNumberPagination):
page_size = 10
page_size_query_param = "page_size"
max_page_size = 25