摘要: 在cmd 上运行 python manage.py shell 引入models的定义 from app.models import myclass ##先打这一行 这些是例子的models格式 class myclass(): aa = models. CharField (max_length= 阅读全文
posted @ 2016-12-20 18:08 糖饼好吃 阅读(283) 评论(0) 推荐(0) 编辑