diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py index f89804aef..5d36b8edd 100644 --- a/rest_framework/pagination.py +++ b/rest_framework/pagination.py @@ -232,7 +232,7 @@ class PageNumberPagination(BasePagination): ('previous', self.get_previous_link()), ('results', data) ]) - + def get_paginated_response(self, data, extra_fields={}): ordered_dict = self.get_paginated_dictionary(data) for key in extra_fields: