          after the decimal point.
          """
          value = smart_text(value).strip()
          try:
              value = decimal.Decimal(value)
          except decimal.DecimalException:
              self.fail('invalid')
  
          # Check for NaN. It is the only value that isn't equal to itself,
          # so we can use this to identify NaN values.
 
</s> remove         value = smart_text(value).strip()
 </s> add         data = smart_text(data).strip()
        if len(data) > self.MAX_STRING_LENGTH:
            self.fail('max_string_length')
 </s> remove     def to_internal_value(self, value):
 </s> add     def to_internal_value(self, data): </s> remove         'max_whole_digits': _('Ensure that there are no more than {max_whole_digits} digits before the decimal point.')
 </s> add         'max_whole_digits': _('Ensure that there are no more than {max_whole_digits} digits before the decimal point.'),
        'max_string_length': _('String value too large')
            value = decimal.Decimal(data)
          after the decimal point.
          """
          value = smart_text(value).strip()
          try:
            value = decimal.Decimal(data)
          except decimal.DecimalException:
              self.fail('invalid')
  
          # Check for NaN. It is the only value that isn't equal to itself,
          # so we can use this to identify NaN values.
keep keep keep keep replace keep keep keep keep keep
 Guard against malicious string inputs for numbers. Closes #1903. 
rest_framework/fields.py