13 lines
318 B
Python
13 lines
318 B
Python
from dynaconf import Dynaconf
|
|
|
|
settings = Dynaconf(
|
|
envvar_prefix=False,
|
|
environments=True,
|
|
env_switcher="ENV_FOR_DYNACONF",
|
|
settings_files=["settings.toml"],
|
|
load_dotenv=True
|
|
)
|
|
|
|
# `envvar_prefix` = export envvars with `export DYNACONF_FOO=bar`.
|
|
# `settings_files` = Load these files in the order.
|