Files
FascioSchoolBot/config/config.py
2025-09-25 13:22:14 +03:00

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.