              field.source for field in self.fields.values()
              if (field.source != '*') and ('.' not in field.source)
          ])
  
          validators = []
          model_class = self.Meta.model
  
          # Note that we make sure to check `unique_together` both on the
          # base model class, but also on any parent classes.
          for parent_class in [model_class] + list(model_class._meta.parents.keys()):
 
</s> remove     def get_default_validators(self):
 </s> add     def get_validators(self): </s> remove     def __init__(self, *args, **kwargs):
        super(ModelSerializer, self).__init__(*args, **kwargs)
        if 'validators' not in kwargs:
            validators = self.get_default_validators()
            if validators:
                self.validators.extend(validators)
                self._kwargs['validators'] = validators

 </s> add  </s> remove     def __init__(self, *args, **kwargs):
        super(Serializer, self).__init__(*args, **kwargs)

 </s> add     @property
    def fields(self):
        if not hasattr(self, '_fields'):
            self._fields = BindingDict(self)
            for key, value in self.get_fields().items():
                self._fields[key] = value
        return self._fields

    def get_fields(self): </s> remove         self.fields = BindingDict(self)
        for key, value in self._get_base_fields().items():
            self.fields[key] = value

        self.validators = getattr(getattr(self, 'Meta', None), 'validators', [])

    def _get_base_fields(self):
 </s> add  </s> remove             TestSerializer()
 </s> add             TestSerializer().fields
        validators = getattr(getattr(self, 'Meta', None), 'validators', [])
              field.source for field in self.fields.values()
              if (field.source != '*') and ('.' not in field.source)
          ])
  
        validators = getattr(getattr(self, 'Meta', None), 'validators', [])
          model_class = self.Meta.model
  
          # Note that we make sure to check `unique_together` both on the
          # base model class, but also on any parent classes.
          for parent_class in [model_class] + list(model_class._meta.parents.keys()):
keep keep keep keep replace keep keep keep keep keep
 Lazy loading of fields and validators. Closes #1963. 
rest_framework/serializers.py