Editorial question133.6K views4,044 votes0 answers1,912 following
AI-generatedPage size limits and opt-in pagination behavior in Django REST Framework
Django REST Framework list actions return the full queryset by default. Pagination is opt-in and must be configured on a view or via REST_FRAMEWORK settings. This leaves the decision to enable pagination and choose defaults to the project author. When PageNumberPagination is used, client-controlled page size is only possible if page_size_query_param is set,