      def __repr__(self):
          return unicode_to_repr('<%s(queryset=%s)>' % (
              self.__class__.__name__,
              smart_repr(self.queryset)
          ))
  
  
  class UniqueTogetherValidator(object):
      """
      Validator that corresponds to `unique_together = (...)` on a model class.
 
</s> remove class UniqueTogetherValidator(object):
 </s> add class UniqueTogetherValidator: </s> remove         return unicode_to_repr('<%s(queryset=%s)>' % (
 </s> add         return '<%s(queryset=%s)>' % ( </s> remove class UniqueValidator(object):
 </s> add class UniqueValidator: </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)>' % (
        )
      def __repr__(self):
          return unicode_to_repr('<%s(queryset=%s)>' % (
              self.__class__.__name__,
              smart_repr(self.queryset)
        )
  
  
  class UniqueTogetherValidator(object):
      """
      Validator that corresponds to `unique_together = (...)` on a model class.
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/validators.py