search page without from-to
This commit is contained in:
6
backend/api/utils/pagination.py
Normal file
6
backend/api/utils/pagination.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from rest_framework.pagination import PageNumberPagination
|
||||
|
||||
class StandardResultsSetPagination(PageNumberPagination):
|
||||
page_size = 25
|
||||
page_size_query_param = 'page_size'
|
||||
max_page_size = 25
|
||||
Reference in New Issue
Block a user