              smart_repr(self.queryset)
          ))
  
  
  class UniqueTogetherValidator:
      """
      Validator that corresponds to `unique_together = (...)` on a model class.
  
      Should be applied to the serializer class, not to an individual field.
      """
 
</s> remove class UniqueValidator:
 </s> add class UniqueValidator(object): </s> remove class BaseUniqueForValidator:
 </s> add class BaseUniqueForValidator(object):
class UniqueTogetherValidator(object):
              smart_repr(self.queryset)
          ))
  
  
class UniqueTogetherValidator(object):
      """
      Validator that corresponds to `unique_together = (...)` on a model class.
  
      Should be applied to the serializer class, not to an individual field.
      """
keep keep keep keep replace keep keep keep keep keep
 Ensure validators are new-style classes on python2 
rest_framework/validators.py