          """
          # Used by the lazily-evaluated `validators` property.
          meta = getattr(self, 'Meta', None)
          validators = getattr(meta, 'validators', None)
          return validators[:] if validators else []
  
      def get_initial(self):
          if hasattr(self, 'initial_data'):
              # initial_data may not be a valid type
              if not isinstance(self.initial_data, Mapping):
 
</s> remove             return validators[:]
 </s> add             return list(validators) </s> remove             self.validators = validators[:]
 </s> add             self.validators = list(validators) </s> remove         return self.default_validators[:]
 </s> add         return list(self.default_validators) </s> remove from rest_framework import fields, relations, serializers
 </s> add from rest_framework import exceptions, fields, relations, serializers
        return list(validators) if validators else []
          """
          # Used by the lazily-evaluated `validators` property.
          meta = getattr(self, 'Meta', None)
          validators = getattr(meta, 'validators', None)
        return list(validators) if validators else []
  
      def get_initial(self):
          if hasattr(self, 'initial_data'):
              # initial_data may not be a valid type
              if not isinstance(self.initial_data, Mapping):
keep keep keep keep replace keep keep keep keep keep
 Adjusted field `validators` to accept iterables. (#6282)

Closes 6280. 
rest_framework/serializers.py