      """
      def get(self, request, *args, **kwargs):
          model = self.resource.model
  
          try:
              self.model_instance = self.get_instance(**query_kwargs)
          except model.DoesNotExist:
              raise ErrorResponse(status.HTTP_404_NOT_FOUND)
 
</s> remove             self.model_instance = self.get_object(*args, **kwargs)
 </s> add             self.model_instance = self.get_instance(**query_kwargs) </s> remove             instance = self.get_object(*args, **kwargs)
 </s> add             instance = self.get_instance(**query_kwargs) </s> remove         queryset = queryset.filter(self.build_query(**kwargs))
 </s> add         queryset = queryset.filter(**query_kwargs)
        query_kwargs = self.get_query_kwargs(request, *args, **kwargs)
      """
      def get(self, request, *args, **kwargs):
          model = self.resource.model
        query_kwargs = self.get_query_kwargs(request, *args, **kwargs)
  
          try:
              self.model_instance = self.get_instance(**query_kwargs)
          except model.DoesNotExist:
              raise ErrorResponse(status.HTTP_404_NOT_FOUND)
keep keep add keep keep keep keep keep
 Remove use of Q objects. 
djangorestframework/mixins.py