摘要: 1. 表关系models 2. 增加 1. 一对一 2. 一对多 3. 多对多 3. 删除 注意: 对于ForeignKey对象,clear()和remove()方法仅在null=True时存在(一对多,多对一) ForeignKey字段没设置null=True时, 没有clear()和remove 阅读全文
posted @ 2019-11-04 21:34 lvweihe 阅读(118) 评论(0) 推荐(0) 编辑