sintonia/api/libretime_api/settings
jo 751d430bcc feat: replace exploded base_* with public_url
Fixes #1574

BREAKING CHANGE: The `general` section in the config schema has changed: the `general.base_*`, `general.protocol` and `general.force_ssl` configuration fields have been replaced with a single `general.public_url` field. Be sure to use a valid url with the new configuration field.
2022-04-25 16:45:01 +02: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): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00
_schema.py feat(api): load config using shared helpers 2022-03-02 22:03:56 +02:00
prod.py feat(api): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00
testing.py feat: replace exploded base_* with public_url 2022-04-25 16:45:01 +02: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.