              smart_repr(self.fields)
          ))
  
  
  class BaseUniqueForValidator:
      message = None
      missing_message = _('This field is required.')
  
      def __init__(self, queryset, field, date_field, message=None):
          self.queryset = queryset
 
</s> remove class UniqueTogetherValidator:
 </s> add class UniqueTogetherValidator(object): </s> remove class UniqueValidator:
 </s> add class UniqueValidator(object):
class BaseUniqueForValidator(object):
              smart_repr(self.fields)
          ))
  
  
class BaseUniqueForValidator(object):
      message = None
      missing_message = _('This field is required.')
  
      def __init__(self, queryset, field, date_field, message=None):
          self.queryset = queryset
keep keep keep keep replace keep keep keep keep keep
 Ensure validators are new-style classes on python2 
rest_framework/validators.py