from rest_framework.pagination import PageNumberPagination
from rest_framework.response import Response


class QuotesResultsSetPagination(PageNumberPagination):
    page_size = 10
    page_size_query_param = 'page_size'
    max_page_size = 10000

    def get_paginated_response(self, data):
        return Response({
            'pages': {
                'next': self.page.next_page_number() if self.page.has_next() else None,
                'previous': self.page.previous_page_number() if self.page.has_previous() else None
            },
            'count': self.page.paginator.count,
            'results': data
        })

from rest_framework.pagination import PageNumberPagination
from rest_framework.response import Response


class QuotesResultsSetPagination(PageNumberPagination):
    page_size = 25
    page_size_query_param = 'page_size'
    max_page_size = 10000

    def get_paginated_response(self, data):
        return Response({
            'pages': {
                'next': self.page.next_page_number() if self.page.has_next() else None,
                'previous': self.page.previous_page_number() if self.page.has_previous() else None
            },
            'count': self.page.paginator.count,
            'results': data
        })

Change page size to 25