sqlite3.IntegrityError: NOT NULL constraint failed: auth_user.last_login

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u014360817/article/details/66473929

Python3.5 ,Django1.9 创建管理员用户是出现以下错误

sqlite3.IntegrityError: NOT NULL constraint failed: auth_user.last_login

使用managet.py执行以下命令再次执行createsuperuser即可

python manage.py migrate

更多内容查看:个人站点

猜你喜欢

转载自blog.csdn.net/u014360817/article/details/66473929