📝
Models Traps
2329
0次下载
3次浏览
2026/3/9
- `makemigrations` not automatic — model changes need explicit command - Migration conflicts on merge — rename migration file or `--merge` - `auto_now` can't be set manually — use `default=timezone.now` instead - `related_name` conflicts — same reverse name crashes, use unique or `'+'` - `ForeignKey('self')` — string needed for self-reference
广告位 300x250
资源信息
- 数据来源
- bigquery-gharchive
- 分类
- uncategorized
- 创建时间
- 2026/3/9
- 更新时间
- 2026/4/26
评论 (0)
登录后发表评论
加载中...