      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
          if self.localize:
              self.coerce_to_string = True
 
</s> remove     def __init__(self, max_digits, decimal_places, coerce_to_string=None, max_value=None, min_value=None, **kwargs):
 </s> add     def __init__(self, max_digits, decimal_places, coerce_to_string=None, max_value=None, min_value=None,
                 localize=False, **kwargs):
        self.localize = localize
      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
        self.localize = localize
          if coerce_to_string is not None:
              self.coerce_to_string = coerce_to_string
          if self.localize:
              self.coerce_to_string = True
keep keep keep add keep keep keep keep
 Add localize keyword argument to `DecimalField` (#4233)

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