          if not coerce_to_string:
              return quantized
          return '{0:f}'.format(quantized)
  
      def quantize(self, value):
          """
 
</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):
        if self.localize:
            return localize_input(quantized)

          if not coerce_to_string:
              return quantized
        if self.localize:
            return localize_input(quantized)

          return '{0:f}'.format(quantized)
  
      def quantize(self, value):
          """
keep add keep keep keep keep
 Add localize keyword argument to `DecimalField` (#4233)

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