          'max_string_length': _('String value too large')
      }
  
      coerce_to_string = api_settings.COERCE_DECIMAL_TO_STRING
  
      def __init__(self, max_digits, decimal_places, coerce_to_string=None, max_value=None, min_value=None, **kwargs):
          self.max_digits = max_digits
 
</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')
    MAX_STRING_LENGTH = 1000  # Guard against malicious string inputs.
          'max_string_length': _('String value too large')
      }
    MAX_STRING_LENGTH = 1000  # Guard against malicious string inputs.
  
      coerce_to_string = api_settings.COERCE_DECIMAL_TO_STRING
  
      def __init__(self, max_digits, decimal_places, coerce_to_string=None, max_value=None, min_value=None, **kwargs):
          self.max_digits = max_digits
keep add keep keep keep keep keep
 Guard against malicious string inputs for numbers. Closes #1903. 
rest_framework/fields.py