  
      def __init__(self, *args, **kwargs):
          self.max_length = kwargs.pop('max_length', None)
          self.allow_empty_file = kwargs.pop('allow_empty_file', False)
          self.use_url = kwargs.pop('use_url', self.use_url)
          super(FileField, self).__init__(*args, **kwargs)
  
      def to_internal_value(self, data):
          try:
              # `UploadedFile` objects should have name and size attributes.
 
</s> remove     use_url = api_settings.UPLOADED_FILES_USE_URL
 </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     coerce_to_string = api_settings.COERCE_DECIMAL_TO_STRING

 </s> add 
        if 'use_url' in kwargs:
            self.use_url = kwargs.pop('use_url')
  
      def __init__(self, *args, **kwargs):
          self.max_length = kwargs.pop('max_length', None)
          self.allow_empty_file = kwargs.pop('allow_empty_file', False)
        if 'use_url' in kwargs:
            self.use_url = kwargs.pop('use_url')
          super(FileField, self).__init__(*args, **kwargs)
  
      def to_internal_value(self, data):
          try:
              # `UploadedFile` objects should have name and size attributes.
keep keep keep keep replace keep keep keep keep keep
 Access settings lazily, not at module import 
rest_framework/fields.py