          return Q(**tmp)
  
      def get_instance_data(self, model, content, **kwargs):
          """
          Returns the dict with the data for model instance creation/update query.
  
          Arguments:
          - model: model class (django.db.models.Model subclass) to work with
          - content: a dictionary with instance data
          - kwargs: a dict of URL provided keyword arguments
 
</s> remove         return Q(**tmp)
 </s> add         return 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         if BaseRenderer._FORMAT_QUERY_PARAM in tmp:
            del tmp[BaseRenderer._FORMAT_QUERY_PARAM]
 </s> add         if BaseRenderer._FORMAT_QUERY_PARAM in kwargs:
            del kwargs[BaseRenderer._FORMAT_QUERY_PARAM] </s> remove             self.model_instance = self.get_object(*args, **kwargs)
 </s> add             self.model_instance = self.get_instance(*query_kwargs)
        Returns the dict with the data for model instance creation/update.
          return Q(**tmp)
  
      def get_instance_data(self, model, content, **kwargs):
          """
        Returns the dict with the data for model instance creation/update.
  
          Arguments:
          - model: model class (django.db.models.Model subclass) to work with
          - content: a dictionary with instance data
          - kwargs: a dict of URL provided keyword arguments
keep keep keep keep replace keep keep keep keep keep
 Remove use of Q objects. 
djangorestframework/mixins.py