跳到主要内容
版本:Current

技术栈

依赖清单:源码仓库 requirements.txt。约束为范围版本,不是钉死补丁号。

层级技术说明
语言Python 3.11+README 要求;GitHub Actions CI 使用 3.12
WebDjango >=4.2,<7settings.py 由 Django 6.0.2 startproject 生成
认证django-allauth仅 Google 社交登录
数据库PostgreSQL本地自建;生产 Neon
驱动psycopg2-binary—
WSGIgunicorn生产进程
静态WhiteNoise生产 CompressedManifestStaticFilesStorage
样式django-tailwind + 预编译 CSS产物提交在 theme/static/css/dist/styles.css
邮件Resend SMTPdjango.core.mail
对象存储django-storages + boto3可选 R2
加密cryptography激活码 Fernet
PDFpdfplumber教室回执解析
配置python-dotenv加载项目根 .env

明确不存在:React/Vue 前端工程、Docker Compose、DRF 公开 REST、独立 package.json(改 Tailwind 源文件时需自行了解 django-tailwind 编译流程)。

Python 版本口径​

来源版本
README3.11+
.github/workflows/ci.yml3.12
某台开发机 venv可能更新(例如 3.14)

提交与 CI 对齐 3.12 最稳妥。不要把未在 CI 验证的语法写进主干。

上游文档​

见 系统首页 的「上游与参考」表。