开发者

where do I place the Django authentication backend 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜