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