Slightly neater is to add the defaults for `input_formats` and `output_format` as attributes...

    input_formats = api_settings.DATETIME_INPUT_FORMATS
    output_format = api_settings.DATETIME_OUTPUT_FORMAT