用了 Django 一段时间后,发现存在各种各样的问题
Django 2.1 用户认证系统authenticate()一直返回None
解决方法:
(1) User.objects.create_user(username=username,password=password)
(2) is_active=True
用了 Django 一段时间后,发现存在各种各样的问题
Django 2.1 用户认证系统authenticate()一直返回None
解决方法:
(1) User.objects.create_user(username=username,password=password)
(2) is_active=True
本文由 用户 于 2023-02-01 发布在 夸智网,如有疑问,请联系我们。
本文链接:https://www.kuazhi.com/post/346130.html
发表评论