from rest_framework.pagination import PageNumberPagination class PortfolioPagination(PageNumberPagination): page_size = 12 page_query_param = 'page'