          return self._pager
  
      def paginate_queryset(self, queryset):
          if self.pager is None:
              return None
          return self.pager.paginate_queryset(queryset, self.request, view=self)
  
      def get_paginated_response(self, objects):
          return self.pager.get_paginated_response(objects)
  
 
</s> remove     def get_paginated_response(self, objects):
        return self.pager.get_paginated_response(objects)
 </s> add     def get_paginated_response(self, data):
        return self.pager.get_paginated_response(data) </s> remove     def get_paginated_response(self, objects):
 </s> add     def get_paginated_response(self, data): </s> remove         self.count = queryset.count()
 </s> add         self.count = _get_count(queryset) </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):
            return queryset
          return self._pager
  
      def paginate_queryset(self, queryset):
          if self.pager is None:
            return queryset
          return self.pager.paginate_queryset(queryset, self.request, view=self)
  
      def get_paginated_response(self, objects):
          return self.pager.get_paginated_response(objects)
  
keep keep keep keep replace keep keep keep keep keep
 API tweaks and pagination documentation 
rest_framework/generics.py