nk20/apps/api/pagination.py

6 lines
147 B
Python

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