  
      def get_object(self, queryset=None):
          """
          Returns the object the view is displaying.
          By default this requires `self.queryset` and a `pk` or `slug` argument
          in the URLconf, but subclasses can override this to return any object.
          """
          # Determine the base queryset to use.
          if queryset is None:
              queryset = self.get_queryset()
  
 
</s> remove         Get the list of items for this view. This must be an iterable, and may
        be a queryset (in which qs-specific behavior will be enabled).
 </s> add         Get the list of items for this view.

        This must be an iterable, and may be a queryset. </s> remove             queryset = self.queryset
            if hasattr(queryset, '_clone'):
                queryset = queryset._clone()
        elif self.model is not None:
            queryset = self.model._default_manager.all()
        else:
            raise ImproperlyConfigured("'%s' must define 'queryset' or 'model'"
                                       % self.__class__.__name__)
        return queryset
 </s> add             return self.queryset._clone()

        if self.model is not None:
            return self.model._default_manager.all()

        raise ImproperlyConfigured("'%s' must define 'queryset' or 'model'"
                                    % self.__class__.__name__)
  
      def get_object(self, queryset=None):
          """
          Returns the object the view is displaying.


          """
          # Determine the base queryset to use.
          if queryset is None:
              queryset = self.get_queryset()
  
keep keep keep keep replace replace keep keep keep keep keep
 Cleaning up get_object and get_queryset 
rest_framework/generics.py