NOT NULL约束失败:auth_user.password - 我爱学习网 (5axxw.com)
django.db.utils.IntegrityError: NOT NULL constraint failed: auth_user.password
因为我post传的key是Password,但是django那边接收的是password,所以找不到。。。
解决办法是改成一致
也有可能是用户名已存在
NOT NULL约束失败:auth_user.password - 我爱学习网 (5axxw.com)
django.db.utils.IntegrityError: NOT NULL constraint failed: auth_user.password
因为我post传的key是Password,但是django那边接收的是password,所以找不到。。。
解决办法是改成一致
也有可能是用户名已存在