          msg = self.error_messages['invalid'] % get_readable_date_format(date_input_formats)
          raise ValidationError(msg)
  
  
  class DateTimeField(WritableField):
      type_name = 'DateTimeField'
      widget = widgets.DateTimeInput
 
</s> remove         date_input_formats = '; '.join(self.format)
 </s> add         date_input_formats = '; '.join(self.input_formats) </s> remove         time_input_formats = '; '.join(self.format)
 </s> add         time_input_formats = '; '.join(self.input_formats) </s> remove         datetime_input_formats = '; '.join(self.format)
 </s> add         datetime_input_formats = '; '.join(self.input_formats)
    def to_native(self, value):
        if self.output_format is not None:
            return value.strftime(self.output_format)
        return value.isoformat()

          msg = self.error_messages['invalid'] % get_readable_date_format(date_input_formats)
          raise ValidationError(msg)
  
    def to_native(self, value):
        if self.output_format is not None:
            return value.strftime(self.output_format)
        return value.isoformat()

  
  class DateTimeField(WritableField):
      type_name = 'DateTimeField'
      widget = widgets.DateTimeInput
keep keep add keep keep keep keep
 Add drf settings + output format + testcases 
rest_framework/fields.py