会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
🍞面包🍞
Sometimes a person can be special on the inside,and if you don`t look under the surface,you could miss something great. And possibly be single the rest of your life. 有时候有趣的灵魂深藏其中,不看透那层皮囊,你会错失良人。然后可能会孤独终老
博客园
首页
新随笔
联系
订阅
管理
2019年11月27日
day 53
摘要: day 53 模型层 01.ORM查询 1. 在后端直接对models层进行测试 1. 方式一:直接使用应用下的tests.py文件 2. 方式二:自己新建一个py文件内部也写上方式一的代码 2. 单表操作 1. 创建数据 1. create方法 2. 利用对象的绑定方法save 2. 修改数据 1
阅读全文
posted @ 2019-11-27 23:00 🍞面包🍞
阅读(88)
评论(0)
推荐(0)
编辑
公告