parent
0266b8974b
commit
4e74600aaf
3 changed files with 13 additions and 1 deletions
@ -0,0 +1,7 @@ |
||||
from rest_framework.pagination import PageNumberPagination |
||||
|
||||
class CustomPageNumberPagination(PageNumberPagination): |
||||
page_size = 20 |
||||
page_size_query_param = 'page_size' |
||||
max_page_size = 100 |
||||
|
Loading…
Reference in new issue