      def __call__(self):
          return self.user
  
      def __repr__(self):
          return unicode_to_repr('%s()' % self.__class__.__name__)
  
  
  class SkipField(Exception):
      pass
  
 
</s> remove class CurrentUserDefault(object):
 </s> add class CurrentUserDefault: </s> remove         return unicode_to_repr(
            '%s(%s)' % (self.__class__.__name__, unicode_repr(self.default))
        )
 </s> add         return '%s(%s)' % (self.__class__.__name__, repr(self.default)) </s> remove         return unicode_to_repr('<%s(queryset=%s)>' % (
 </s> add         return '<%s(queryset=%s)>' % ( </s> remove         return unicode_to_repr('<%s(queryset=%s, fields=%s)>' % (
 </s> add         return '<%s(queryset=%s, fields=%s)>' % ( </s> remove         return unicode_to_repr('<%s(queryset=%s, field=%s, date_field=%s)>' % (
 </s> add         return '<%s(queryset=%s, field=%s, date_field=%s)>' % (
        return '%s()' % self.__class__.__name__
      def __call__(self):
          return self.user
  
      def __repr__(self):
        return '%s()' % self.__class__.__name__
  
  
  class SkipField(Exception):
      pass
  
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/fields.py