会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
敢问路在何方
博客园
首页
新随笔
联系
订阅
管理
2019年11月4日
多表操作查询
摘要: 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)
编辑
公告