change pagination max size

This commit is contained in:
behruz-dev
2025-09-16 17:40:12 +05:00
parent f4e572227a
commit 456bee4d3d
2 changed files with 5 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ class CustomPageNumberPagination(PageNumberPagination):
page_size = 10
page_query_param = 'page'
page_size_query_param = 'page_size'
max_page_size = 100
max_page_size = 999
def get_paginated_response(self, data):
return Response({