一、Model建表步骤
1、
2、
3、
二、单表的增删改查
1、insert
1)方法一
book.objects.create(
title="疯狂外星人",
price=10,
color="yellow",
publisher_id=4
)
2、
3、
三、
一、Model建表步骤
1、
2、
3、
二、单表的增删改查
1、insert
1)方法一
book.objects.create(
title="疯狂外星人",
price=10,
color="yellow",
publisher_id=4
)
2、
3、
三、
Python学习---django之Model语法180124
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M