trustpoint.settingsΒΆ
Django settings for trustpoint project.
Generated by βdjango-admin startprojectβ using Django 5.0.1.
For more information on this file, see https://docs.djangoproject.com/en/5.0/topics/settings/
For the full list of settings and their values, see https://docs.djangoproject.com/en/5.0/ref/settings/
AttributesΒΆ
ClassesΒΆ
Custom logging formatter to use UTC time. |
|
User interface configuration defaults. |
FunctionsΒΆ
|
|
Checks whether PostgreSQL is available and issues differentiated error messages. |
Module ContentsΒΆ
- trustpoint.settings.PUBLIC_PATHS = ['/setup-wizard', '/.well-known/cmp', '/.well-known/est', '/aoki', '/crl'][source]ΒΆ
- trustpoint.settings.is_postgre_available()[source]ΒΆ
Checks whether PostgreSQL is available and issues differentiated error messages.
- Returns:
True, if PostgreSQL is available and accessible.
- Return type:
bool
- Raises:
RuntimeError β If PostgreSQL is deactivated, not reachable or not accessible.
- trustpoint.settings.INSTALLED_APPS = ['help_pages.apps.HelpPagesConfig', 'shared.apps.SharedConfig',...[source]ΒΆ
- trustpoint.settings.SECRET_KEY = 'DEV-ENVIRON-SECRET-KEY-lh2rw0b0z$s9e=!4see)@_8ta_up&ad&m01$i+g5z@nz5u$0wi'[source]ΒΆ