Files

12 lines
233 B
Python
Raw Permalink Normal View History

2026-05-08 15:42:32 +08:00
from dynaconf import Dynaconf
settings = Dynaconf(
# 配置文件
settings_files=['settings.toml', '.secrets.toml'],
# 环境变量
environments=True,
# 环境切换变量
env_switcher="ENV_FOR_DYNACONF",
)