Django創建模型_模型層

1.在項目Mysite下創建應用bms 2.在bms下的models.py文件中創建模型 from django.db import models # Create your models here. class Bookinfo(models.Model): book_id = models.AutoField(primary_key=True) book_category =
相關文章
相關標籤/搜索