Django入門2:數據庫

更新數據庫 py manage.py migrate 該命令將創建或更新setting中的數據庫 創建models #myapp/models.py from django.db import models class Question(models.Model): question_text = models.CharField(max_length=200) pub_date
相關文章
相關標籤/搜索