libretime/api/libretime_api/settings
Jonas L 0d2d1a2673
feat!: the `general.secret_key` configuration field is now required (#2841)
BREAKING CHANGE: The `general.secret_key` configuration field is now
required. Make sure to update your configuration file and add a secret
key.

Closes #2426
2023-12-27 18:15:47 +01:00
..
README.md feat(api): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00
__init__.py feat(api): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00
_internal.py feat(api): add cors headers middleware (#2479) 2023-03-23 14:40:30 +00:00
_schema.py feat(api): add email configuration 2023-06-02 07:44:34 +01:00
prod.py feat!: the `general.secret_key` configuration field is now required (#2841) 2023-12-27 18:15:47 +01:00
testing.py feat(api): add email configuration 2023-06-02 07:44:34 +01:00

README.md

Django settings

For more information on django settings, see https://docs.djangoproject.com/en/3.2/topics/settings/. For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/.

The structure of the django settings module is the following:

  • the _internal.py module contains application settings for django.
  • the _schema.py module contains the schema for the user configuration parsing and validation.
  • the prod.py (libretime_api.settings.prod) 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 testing.py (libretime_api.settings.testing) module is the testing django settings entrypoint.