Reduce API page size
This commit is contained in:
parent
23b8454fe4
commit
a2d1aff112
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue