摘要: 定义模型类: 示例:在app中models.py中定义模型类 models.py文件 from django.db import models # Create your models here. class Student(models.Model): sex_choices = ( (0, "女 阅读全文
posted @ 2022-02-18 15:54 咖啡馆 阅读(49) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示