Recruitment_site/offer_backend/apps/accounts/migrations
TianyangZhang b6d5a51c3d fix: 邮箱字段设置为唯一且必填,改善错误提示
后端改动:
- User.email 设置为 unique=True,确保每个邮箱只能注册一次
- 这样 SendCodeView 能正确查找到已注册的邮箱

前端改动:
- LoginView 增加详细的错误日志输出
- 捕获更多错误信息类型帮助调试

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-25 16:09:48 +08:00
..
0001_initial.py feat: add custom User model with role-based permissions 2026-03-24 17:11:40 +08:00
0002_verificationcode.py feat: 实现邮箱验证码登入功能 2026-03-25 15:30:23 +08:00
0003_alter_user_phone.py feat: 将注册手机号改为必填项 2026-03-25 15:46:44 +08:00
0004_alter_user_email.py fix: 邮箱字段设置为唯一且必填,改善错误提示 2026-03-25 16:09:48 +08:00
__init__.py feat: add custom User model with role-based permissions 2026-03-24 17:11:40 +08:00