          quantized = self.quantize(value)
  
          if not coerce_to_string:
              return quantized
          if self.localize:
              return localize_input(quantized)
 
</s> remove                  localize=False, rounding=None, **kwargs):
 </s> add                  localize=False, rounding=None, normalize_output=False, **kwargs):
        if self.normalize_output:
            quantized = quantized.normalize()

          quantized = self.quantize(value)
  
        if self.normalize_output:
            quantized = quantized.normalize()

          if not coerce_to_string:
              return quantized
          if self.localize:
              return localize_input(quantized)
keep add keep keep keep keep
 Possibility to remove trailing zeros on DecimalFields representation (#6514)

* Added normalize parameter to DecimalField to be able to strip trailing zeros. Fixes #6151.

* Updated docs to include normalize option on DecimalField

* Fixed linting error in test_fields

* Removed comment and renamed normalize to normalize_output as suggested in code review

Co-authored-by: Tom Christie <tom@tomchristie.com> 
rest_framework/fields.py