26 lines
543 B
Python
26 lines
543 B
Python
"""
|
|
backend/app/config.py
|
|
|
|
用途:兼容层 — 权威实现位于 app.core.config.settings。
|
|
依赖:app.core.config.settings。
|
|
逻辑:环境文件加载与 Config 类;新代码请 from app.core.config.settings import config。
|
|
"""
|
|
|
|
from app.core.config.settings import ( # noqa: F401
|
|
ACTIVE_ENV_NAME,
|
|
Config,
|
|
DevelopmentConfig,
|
|
ProductionConfig,
|
|
TestingConfig,
|
|
config,
|
|
)
|
|
|
|
__all__ = [
|
|
'ACTIVE_ENV_NAME',
|
|
'Config',
|
|
'DevelopmentConfig',
|
|
'ProductionConfig',
|
|
'TestingConfig',
|
|
'config',
|
|
]
|