DCv2 / Python · Django
数据收集与报表生成平台 — Python 重写
Phase 0 已就绪
- ✓ Django 5.0 启动
- ✓ MySQL 8 数据库
dc_py_dev 已连接
- ✓ Redis 队列就绪(Celery 后续接入)
- ✓ apps/{core,tenants,users,forms,reports,scheduling,platform_admin,h5} 骨架
- ✓ BaseTenantModel + TenantMiddleware 骨架(Phase 1 落地)
Django 后台:/admin/(用 superadmin / 你设的密码登录)
下一步:Phase 1
- 把 BaseTenantModel 的隔离逻辑落地(从 stub 改为强制)
- 实现自定义 User 模型(mobile + wechat_unionid 主键)
- 从 PHP migrations 001~011 翻成 Django models 并 makemigrations
- 平台超管(platform_admin)独立体系 + TOTP
分支 python-rewrite · 工作树 /home/dc/dc-py/ · 老 PHP 仍在 main