          return Response(OrderedDict([
              ('count', self.page.paginator.count),
              ('next', self.get_next_link()),
              ('previous', self.get_previous_link()),
              ('results', objects)
          ]))
  
      def get_page_size(self, request):
          if self.paginate_by_param:
              try:
 
</s> remove             ('results', objects)
 </s> add             ('results', data) </s> remove     def get_paginated_response(self, objects):
 </s> add     def get_paginated_response(self, data): </s> remove     def get_paginated_response(self, objects):
 </s> add     def get_paginated_response(self, data): </s> remove     def paginate_queryset(self, queryset, request):
 </s> add     def paginate_queryset(self, queryset, request, view):
            ('results', data)
          return Response(OrderedDict([
              ('count', self.page.paginator.count),
              ('next', self.get_next_link()),
              ('previous', self.get_previous_link()),
            ('results', data)
          ]))
  
      def get_page_size(self, request):
          if self.paginate_by_param:
              try:
keep keep keep keep replace keep keep keep keep keep
 API tweaks and pagination documentation 
rest_framework/pagination.py