解决报名支付
All checks were successful
Deploy to Server / deploy (push) Successful in 36s

This commit is contained in:
jeremygan2021
2026-02-23 16:20:34 +08:00
parent 6bbbb49d90
commit 58176c6651
10 changed files with 70 additions and 19 deletions

View File

@@ -100,7 +100,7 @@ DATABASES = {
}
# 从环境变量获取数据库配置 (Docker 环境会自动注入这些变量)
# DB_HOST = os.environ.get('DB_HOST', '121.43.104.161')
#DB_HOST = os.environ.get('DB_HOST', '121.43.104.161')
DB_HOST = os.environ.get('DB_HOST', '6.6.6.66')
if DB_HOST:
DATABASES['default'] = {