1.Tools>Run manage.py Task
2.依次输入:
makemigrations migrate createsuperuser
如:
manage.py@production > makemigrations
manage.py@production > migrate
manage.py@production > createsuperuser
posted on 2017-07-12 18:36 小明在线 阅读(831) 评论(0) 编辑 收藏 举报