开发者

where do I place the Django authentication backend file?

开发者 https://www.devze.com 2023-04-11 20:07 出处:网络
This documentation talks about writing the auth. backend but never said an开发者_如何学Pythonything about where to place the file.

This documentation talks about writing the auth. backend but never said an开发者_如何学Pythonything about where to place the file. https://docs.djangoproject.com/en/dev/topics/auth/#writing-an-authentication-backend


Doesn't really matter, since you have to add the path to settings.AUTHENTICATION_BACKENDS anyways. But <app>.backends is generally safe.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号