且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Django Microsoft AD身份验证

更新时间:2023-12-03 14:59:10

django-microsoft-auth使用标准的django登录页面并对其进行扩展.我的猜测是您的自定义登录页面对此产生了干扰.您可以尝试删除该视图,然后再次测试以查看登录名是否出现在/admin上.

django-microsoft-auth uses the standard django login page and extends that. My guess is that your custom login page is interfering with that. You could try removing that view and test again to see if the login appears at /admin.

文件应来自django-microsoft-auth软件包.您可以尝试使用pip卸载并重新安装

The files should be coming from the django-microsoft-auth package. You could try uninstalling and reinstalling it again with pip