baseline: 批次A-D 成果 + membership 半成品(测试红)

This commit is contained in:
agent
2026-09-11 23:11:35 +08:00
commit b3f3095d53
311 changed files with 40540 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
"""开发环境配置:DEBUG + SQLite + 本地 Granian。"""
from .base import * # noqa
from .base import BASE_DIR
DEBUG = True
ALLOWED_HOSTS = ["*"]
# SQLite(开发快速启动,无需安装 PG)
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
}
}
# 控制台打印 SQL
LOGGING["loggers"]["django.db.backends"] = { # noqa: F405
"handlers": ["console"],
"level": "DEBUG",
}