fixed pagination user-defined page size error
This commit is contained in:
parent
3053f6fd7a
commit
915548f331
@ -2,5 +2,5 @@ from rest_framework.pagination import PageNumberPagination
|
||||
|
||||
|
||||
class UserDefinedSizePagination(PageNumberPagination):
|
||||
page_query_param = 'page_size'
|
||||
max_page_size = '500'
|
||||
page_size_query_param = 'page_size'
|
||||
max_page_size = 500
|
||||
|
||||
Loading…
Reference in New Issue
Block a user