  
      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
          self.coerce_to_string = coerce_to_string if (coerce_to_string is not None) else self.coerce_to_string
  
          self.max_value = max_value
          self.min_value = min_value
  
          if self.max_digits is not None and self.decimal_places is not None:
 
</s> remove     coerce_to_string = api_settings.COERCE_DECIMAL_TO_STRING

 </s> add  </s> remove         self.format = format if format is not empty else self.format
        self.input_formats = input_formats if input_formats is not None else self.input_formats
 </s> add         if format is not empty:
            self.format = format
        if input_formats is not None:
            self.input_formats = input_formats </s> remove         self.format = format if format is not empty else self.format
        self.input_formats = input_formats if input_formats is not None else self.input_formats
 </s> add         if format is not empty:
            self.format = format
        if input_formats is not None:
            self.input_formats = input_formats </s> remove     format = api_settings.TIME_FORMAT
    input_formats = api_settings.TIME_INPUT_FORMATS
 </s> add  </s> remove     format = api_settings.DATE_FORMAT
    input_formats = api_settings.DATE_INPUT_FORMATS
 </s> add 
        if coerce_to_string is not None:
            self.coerce_to_string = coerce_to_string
  
      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
  
          self.max_value = max_value
          self.min_value = min_value
  
          if self.max_digits is not None and self.decimal_places is not None:
keep keep keep keep replace keep keep keep keep keep
 Access settings lazily, not at module import 
rest_framework/fields.py