loefsys.settings.base module
Module containing the base configuration.
- class loefsys.settings.base.BaseSettings
Bases:
BaseSettingsBase class for settings configuration.
The base class configures essential variables, such as the debug mode, which may be required by other modules.
- BASE_DIR = PosixPath('/home/runner/work/loefsys/loefsys')
- DEBUG
- ALLOWED_HOSTS
- ROOT_URLCONF = 'loefsys.urls'
- WSGI_APPLICATION = 'loefsys.wsgi.application'
- DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
- TAILWIND_APP_NAME = 'loefsys.theme'
- NPM_BIN_PATH
property to make environment variable based settings simpler.
- Parameters:
default (Any) – default value If it’s a string, it will be passed to the
castfunction When used as a decorator, this is the method.key (str) – Override environment variable name (Defaults to class attribute name)
prefix (str) – Prefix to
keywhen looking upos.environcast (func) – Function to cast
strvalues.
- SECRET_KEY