          # so we'd better support it here.
          max_length = kwargs.pop('max_length', None)
          super(ModelField, self).__init__(**kwargs)
          if max_length is not None:
              message = self.error_messages['max_length'].format(max_length=max_length)
              self.validators.append(MaxLengthValidator(max_length, message=message))
  
      def to_internal_value(self, data):
          rel = get_remote_field(self.model_field, default=None)
          if rel is not None:
              return rel.to._meta.get_field(rel.field_name).to_python(data)
 
</s> remove             message = self.error_messages['min_length'].format(min_length=self.min_length)
            self.validators.append(MinLengthValidator(self.min_length, message=message))
 </s> add             message = lazy(
                self.error_messages['min_length'].format,
                six.text_type)(min_length=self.min_length)
            self.validators.append(
                MinLengthValidator(self.min_length, message=message)) </s> remove             message = self.error_messages['max_length'].format(max_length=self.max_length)
            self.validators.append(MaxLengthValidator(self.max_length, message=message))
 </s> add             message = lazy(
                self.error_messages['max_length'].format,
                six.text_type)(max_length=self.max_length)
            self.validators.append(
                MaxLengthValidator(self.max_length, message=message)) </s> remove             message = self.error_messages['max_value'].format(max_value=self.max_value)
            self.validators.append(MaxValueValidator(self.max_value, message=message))
 </s> add             message = lazy(
                self.error_messages['max_value'].format,
                six.text_type)(max_value=self.max_value)
            self.validators.append(
                MaxValueValidator(self.max_value, message=message)) </s> remove             message = self.error_messages['max_value'].format(max_value=self.max_value)
            self.validators.append(MaxValueValidator(self.max_value, message=message))
 </s> add             message = lazy(
                self.error_messages['max_value'].format,
                six.text_type)(max_value=self.max_value)
            self.validators.append(
                MaxValueValidator(self.max_value, message=message)) </s> remove             message = self.error_messages['min_value'].format(min_value=self.min_value)
            self.validators.append(MinValueValidator(self.min_value, message=message))
 </s> add             message = lazy(
                self.error_messages['min_value'].format,
                six.text_type)(min_value=self.min_value)
            self.validators.append(
                MinValueValidator(self.min_value, message=message))
            message = lazy(
                self.error_messages['max_length'].format,
                six.text_type)(max_length=self.max_length)
            self.validators.append(
                MaxLengthValidator(self.max_length, message=message))
          # so we'd better support it here.
          max_length = kwargs.pop('max_length', None)
          super(ModelField, self).__init__(**kwargs)
          if max_length is not None:
            message = lazy(
                self.error_messages['max_length'].format,
                six.text_type)(max_length=self.max_length)
            self.validators.append(
                MaxLengthValidator(self.max_length, message=message))
            message = lazy(
                self.error_messages['max_length'].format,
                six.text_type)(max_length=self.max_length)
            self.validators.append(
                MaxLengthValidator(self.max_length, message=message))
  
      def to_internal_value(self, data):
          rel = get_remote_field(self.model_field, default=None)
          if rel is not None:
              return rel.to._meta.get_field(rel.field_name).to_python(data)
keep keep keep keep replace replace keep keep keep keep keep
 Defer translated string evaluation on validators.  (#5452)

* Customize validators to defer error string evaluation.

* Add docstring for `CustomValidatorMessage` 
rest_framework/fields.py