Reduce API page size

This commit is contained in:
Jake Howard 2022-10-02 17:28:20 +01:00
parent 23b8454fe4
commit a2d1aff112
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -2,5 +2,5 @@ from rest_framework.pagination import PageNumberPagination
class CustomPageNumberPagination(PageNumberPagination):
page_size = 20
max_page_size = 50
page_size = 10
max_page_size = 30