fixed pagination
This commit is contained in:
parent
35475f8443
commit
3053f6fd7a
6
core/paginators.py
Normal file
6
core/paginators.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from rest_framework.pagination import PageNumberPagination
|
||||||
|
|
||||||
|
|
||||||
|
class UserDefinedSizePagination(PageNumberPagination):
|
||||||
|
page_query_param = 'page_size'
|
||||||
|
max_page_size = '500'
|
||||||
Loading…
Reference in New Issue
Block a user