Compare commits
2 Commits
1ca89c6535
...
4e74600aaf
Author | SHA1 | Date |
---|---|---|
|
4e74600aaf | 2 weeks ago |
|
0266b8974b | 2 weeks ago |
3 changed files with 18 additions and 2 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