I have a pagination configured and connected via settings.py Tell me, please, how can I make it so that pagination is not applied to a specific viewSet? And one object returned

    1 answer 1

    You need to add pagination_class = None to your ModelViewSet . Here is an example.

     class MyClassBasedView(ModelViewSet): pagination_class = None