Fork me on GitHub
摘要: 单表操作 1,创建模型 创建名为book的APP,在book下的models.py中创建模型: from django.db import models # Create your models here. class Book(models.Model): id = models.AutoFiel 阅读全文
posted @ 2019-04-11 15:44 战争热诚 阅读(3494) 评论(0) 推荐(1) 编辑