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.
精彩评论