nk20/apps/api/pagination.py

6 lines
147 B
Python
Raw Permalink Normal View History

from rest_framework.pagination import PageNumberPagination
class CustomPagination(PageNumberPagination):
page_size_query_param = 'page_size'