          return all_kw_args
  
      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):
 
</s> remove     def get_object(self, *args, **kwargs):
 </s> add     def get_instance(self, **kwargs): </s> remove         model = self.resource.model
        return model.objects.get(self.build_query(*args, **kwargs))
 </s> add         return self.get_queryset().get(**kwargs) </s> remove         return Q(**tmp)
 </s> add         return kwargs </s> remove     def build_query(self, *args, **kwargs):
        # Build query is overriden to filter the kwargs priori
        # to use them as build_query argument
        filtered_keywords = kwargs.copy()

        return super(ReadModelMixin, self).build_query(*args, **filtered_keywords)

 </s> add 
        Get a model instance for read/update/delete requests.
          return all_kw_args
  
      def get_object(self, *args, **kwargs):
          """
        Get a model instance for read/update/delete requests.
          """
          model = self.resource.model
          return model.objects.get(self.build_query(*args, **kwargs))
  
      def get_queryset(self):
keep keep keep keep replace keep keep keep keep keep
 Remove use of Q objects. 
djangorestframework/mixins.py