From c2921b1eca4682fc7e10dbdf34065d2611d4fc4a Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Thu, 23 Feb 2023 04:28:00 +0100 Subject: [PATCH] Reduce diff --- rest_framework/mixins.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_framework/mixins.py b/rest_framework/mixins.py index 3828aed07..7fa8947cb 100644 --- a/rest_framework/mixins.py +++ b/rest_framework/mixins.py @@ -36,6 +36,7 @@ class ListModelMixin: """ def list(self, request, *args, **kwargs): queryset = self.filter_queryset(self.get_queryset()) + page = self.paginate_queryset(queryset) if page is not None: serializer = self.get_serializer(page, many=True)