      def get_object(self, *args, **kwargs):
          """
          Get the instance object for read/update/delete requests.
          """
          model = self.resource.model
          return model.objects.get(self.build_query(*args, **kwargs))
  
      def get_queryset(self):
          """
          Return the queryset for this view.
          """
 
</s> remove         Get the instance object for read/update/delete requests.
 </s> add         Get a model instance for read/update/delete requests. </s> remove     def get_object(self, *args, **kwargs):
 </s> add     def get_instance(self, **kwargs): </s> remove     def build_query(self, *args, **kwargs):
        """ Returns django.db.models.Q object to be used for the objects retrival.

        Arguments:
        - args: unnamed URL arguments
        - kwargs: named URL arguments

        If a URL passes any arguments to the view being the QueryMixin subclass
        build_query manages the arguments and provides the Q object that will be
        used for the objects retrival with filter/get queryset methods.

        Technically, neither args nor kwargs have to be provided, however the default
        behaviour is to map all kwargs as the query constructors so that if this
        method is not overriden only kwargs keys being model fields are valid.

        If positional args are provided, the last one argument is understood
        as the primary key.  However this usage should be considered
        deperecated, and will be removed in a future version.
 </s> add     def get_query_kwargs(self, *args, **kwargs):
        """
        Return a dict of kwargs that will be used to build the
        model instance retrieval or to filter querysets. </s> remove         return Q(**tmp)
 </s> add         return kwargs </s> remove         Returns the dict with the data for model instance creation/update query.
 </s> add         Returns the dict with the data for model instance creation/update.
        return self.get_queryset().get(**kwargs)
      def get_object(self, *args, **kwargs):
          """
          Get the instance object for read/update/delete requests.
          """
        return self.get_queryset().get(**kwargs)
        return self.get_queryset().get(**kwargs)
  
      def get_queryset(self):
          """
          Return the queryset for this view.
          """
keep keep keep keep replace replace keep keep keep keep keep
 Remove use of Q objects. 
djangorestframework/mixins.py