""" web_admin pagination file """ # third party imports from rest_framework.pagination import PageNumberPagination from base.constants import NUMBER class CustomPageNumberPagination(PageNumberPagination): """ custom paginator class """ # Set the desired page size page_size = NUMBER['ten'] page_size_query_param = 'page_size' # Set a maximum page size if needed max_page_size = NUMBER['hundred']