  
          return value
  
      def to_representation(self, value):
          if not isinstance(value, decimal.Decimal):
              value = decimal.Decimal(six.text_type(value).strip())
  
          quantized = self.quantize(value)
 
</s> remove         if not self.coerce_to_string:
 </s> add         if not coerce_to_string: </s> remove         if self.format.lower() == ISO_8601:
 </s> add         if output_format.lower() == ISO_8601: </s> remove         humanized_format = humanize_datetime.datetime_formats(self.input_formats)
 </s> add         humanized_format = humanize_datetime.datetime_formats(input_formats)
        coerce_to_string = getattr(self, 'coerce_to_string', api_settings.COERCE_DECIMAL_TO_STRING)

  
          return value
  
      def to_representation(self, value):
        coerce_to_string = getattr(self, 'coerce_to_string', api_settings.COERCE_DECIMAL_TO_STRING)

          if not isinstance(value, decimal.Decimal):
              value = decimal.Decimal(six.text_type(value).strip())
  
          quantized = self.quantize(value)
keep keep keep add keep keep keep keep
 Access settings lazily, not at module import 
rest_framework/fields.py