          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)
  
  
  # Concrete view classes that provide method handlers
  # by composing the mixin classes with the base view.
  
 
</s> remove             return None
 </s> add             return queryset </s> remove     def get_paginated_response(self, objects):
 </s> add     def get_paginated_response(self, data): </s> remove         Paginate a queryset if required, either returning a page object,
        or `None` if pagination is not configured for this view.
 </s> add         Paginate a queryset if required, either returning a
        page object, or `None` if pagination is not configured for this view. </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)
    def get_paginated_response(self, data):
        return self.pager.get_paginated_response(data)
          if self.pager is None:
              return None
          return self.pager.paginate_queryset(queryset, self.request, view=self)
  
    def get_paginated_response(self, data):
        return self.pager.get_paginated_response(data)
    def get_paginated_response(self, data):
        return self.pager.get_paginated_response(data)
  
  
  # Concrete view classes that provide method handlers
  # by composing the mixin classes with the base view.
  
keep keep keep keep replace replace keep keep keep keep keep
 API tweaks and pagination documentation 
rest_framework/generics.py