      return ret
  
  
  class BasePagination(object):
      def paginate_queryset(self, queryset, request):
          raise NotImplemented('paginate_queryset() must be implemented.')
  
      def get_paginated_response(self, data, page, request):
          raise NotImplemented('get_paginated_response() must be implemented.')
  
 
</s> remove     def get_paginated_response(self, data, page, request):
 </s> add     def get_paginated_response(self, data): </s> remove             return None
 </s> add             return queryset </s> remove             ('results', objects)
 </s> add             ('results', data) </s> remove             ('results', objects)
 </s> add             ('results', data)
    def paginate_queryset(self, queryset, request, view):
      return ret
  
  
  class BasePagination(object):
    def paginate_queryset(self, queryset, request, view):
          raise NotImplemented('paginate_queryset() must be implemented.')
  
      def get_paginated_response(self, data, page, request):
          raise NotImplemented('get_paginated_response() must be implemented.')
  
keep keep keep keep replace keep keep keep keep keep
 API tweaks and pagination documentation 
rest_framework/pagination.py