toml config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user