会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
LIFE
The important thing in life is to have a great aim and the determination to attain it
博客园
首页
新随笔
联系
订阅
管理
2018年11月6日
DAY72-Django框架(三)
摘要: 一、orm简单介绍 1.orm的功能 可以创建数据表、对字段增删改。但是对数据库无法操作 2.字段操作 1.添加字段 2.删除字段 在models.py中删除或注释该字段即可,在执行数据迁移 3.修改字段 在models.py中修改该字段即可,在执行数据迁移 3.数据操作 1.查询数据 2.
阅读全文
posted @ 2018-11-06 15:37 藏岚
阅读(108)
评论(0)
推荐(0)
编辑
公告