I am using the Django Rest Framework ModelViewSet for one of my views. ModelViewSet uses ListModelMixin , which automatically paginates the results, but I do not want the results to be paginated. In my API call, I say how many results I want to return, but since it costs, I cannot get more than 10 results in one call.
Is there a way to turn off automatic pagination, and so I can have as many results as I want to return?
source share