      }
      format = api_settings.DATE_FORMAT
      input_formats = api_settings.DATE_INPUT_FORMATS
  
      def __init__(self, format=None, input_formats=None, *args, **kwargs):
          self.format = format if format is not None else self.format
          self.input_formats = input_formats if input_formats is not None else self.input_formats
          super(DateField, self).__init__(*args, **kwargs)
  
      def to_internal_value(self, value):
          if value in (None, ''):
 
</s> remove     def __init__(self, format=None, input_formats=None, *args, **kwargs):
        self.format = format if format is not None else self.format
 </s> add     def __init__(self, format=empty, input_formats=None, *args, **kwargs):
        self.format = format if format is not empty else self.format </s> remove     def __init__(self, format=None, input_formats=None, default_timezone=None, *args, **kwargs):
        self.format = format if format is not None else self.format
 </s> add     def __init__(self, format=empty, input_formats=None, default_timezone=None, *args, **kwargs):
        self.format = format if format is not empty else self.format </s> remove     outputs = {}
 </s> add     outputs = {
        datetime.date(2001, 1, 1): '2001-01-01',
    } </s> remove     outputs = {}
 </s> add     outputs = {
        datetime.datetime(2001, 1, 1, 13, 00): '2001-01-01T13:00:00',
        datetime.datetime(2001, 1, 1, 13, 00, tzinfo=timezone.UTC()): '2001-01-01T13:00:00Z',
    }
    def __init__(self, format=empty, input_formats=None, *args, **kwargs):
        self.format = format if format is not empty else self.format
      }
      format = api_settings.DATE_FORMAT
      input_formats = api_settings.DATE_INPUT_FORMATS
  
    def __init__(self, format=empty, input_formats=None, *args, **kwargs):
        self.format = format if format is not empty else self.format
    def __init__(self, format=empty, input_formats=None, *args, **kwargs):
        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
          super(DateField, self).__init__(*args, **kwargs)
  
      def to_internal_value(self, value):
          if value in (None, ''):
keep keep keep keep replace replace keep keep keep keep keep
 Support format=None for date/time fields 
rest_framework/fields.py