  from rest_framework.response import Response
  from rest_framework.request import clone_request
  
  
  def _get_validation_exclusions(obj, pk=None, slug_field=None):
      """
      Given a model instance, and an optional pk and slug field,
      return the full list of all other field names on that model.
  
      For use when performing full_clean on a model instance,
 
</s> remove             exclude = _get_validation_exclusions(obj, pk, slug_field)
 </s> add             exclude = _get_validation_exclusions(obj, pk, slug_field, self.lookup_field)
def _get_validation_exclusions(obj, pk=None, slug_field=None, lookup_field=None):
  from rest_framework.response import Response
  from rest_framework.request import clone_request
  
  
def _get_validation_exclusions(obj, pk=None, slug_field=None, lookup_field=None):
      """
      Given a model instance, and an optional pk and slug field,
      return the full list of all other field names on that model.
  
      For use when performing full_clean on a model instance,
keep keep keep keep replace keep keep keep keep keep
 introduce lookup_field and add pendingdeprecationwarnings 
rest_framework/mixins.py