          'max_string_length': _('String value too large.')
      }
      MAX_STRING_LENGTH = 1000  # Guard against malicious string inputs.
  
      def __init__(self, max_digits, decimal_places, coerce_to_string=None, max_value=None, min_value=None, **kwargs):
          self.max_digits = max_digits
          self.decimal_places = decimal_places
          if coerce_to_string is not None:
              self.coerce_to_string = coerce_to_string
  
 
</s>
    def __init__(self, max_digits, decimal_places, coerce_to_string=None, max_value=None, min_value=None,
                 localize=False, **kwargs):
          'max_string_length': _('String value too large.')
      }
      MAX_STRING_LENGTH = 1000  # Guard against malicious string inputs.
  
    def __init__(self, max_digits, decimal_places, coerce_to_string=None, max_value=None, min_value=None,
                 localize=False, **kwargs):
          self.max_digits = max_digits
          self.decimal_places = decimal_places
          if coerce_to_string is not None:
              self.coerce_to_string = coerce_to_string
  
keep keep keep keep replace keep keep keep keep keep
 Add localize keyword argument to `DecimalField` (#4233)

Add `localize` keyword argument for DecimalField
rest_framework/fields.py