toml config

This commit is contained in:
2025-01-20 15:39:23 +08:00
parent b9cde3e874
commit b8b7f5c768
5 changed files with 8 additions and 7 deletions

View File

@@ -12,9 +12,9 @@ class Settings(BaseSettings):
"""Application settings."""
# 应用配置
APP_NAME: str = "{{ cookiecutter.project_name }}"
DEBUG: bool = False
SECRET_KEY: str = "{{ cookiecutter.secret_key }}"
APP_NAME: str
DEBUG: bool
SECRET_KEY: str
# 路径配置
BASE_DIR: Path = Path(__file__).parent.parent.parent