使用python manage.py makemigrations ,python manage.py migrate
如果不顺利的 话:1数据库中某些字段要设置默认值为空
posted on 2017-03-20 14:49 费晓晖 阅读(184) 评论(0) 编辑 收藏 举报