sintonia/api/libretime_api/settings
jo 2dcc654b70 feat(api): load config using shared helpers
- add django settings module documentation
- use default for previously required fields

BREAKING CHANGE: The API command line interface require the
configuration file to be present. The default configuration file path is
`/etc/airtime/airtime.conf`
2022-03-02 22:03:56 +02:00
..
README.md feat(api): load config using shared helpers 2022-03-02 22:03:56 +02:00
__init__.py feat(api): load config using shared helpers 2022-03-02 22:03:56 +02:00
_internal.py feat(api): load config using shared helpers 2022-03-02 22:03:56 +02:00
_schema.py feat(api): load config using shared helpers 2022-03-02 22:03:56 +02:00

README.md

Django settings

The structure of the django settings module is the following:

  • the __init__.py (libretime_api.settings) module is the django settings entrypoint. The module contains bindings between the user configuration and the django settings. Advanced users may edit this file to better integrate the LibreTime API in their setup.
  • the _internal.py module contains application settings for django.
  • the _schema.py module contains the schema for the user configuration parsing and validation.