Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where do I place the Django authentication backend file?

This documentation talks about writing the auth. backend but never said anything about where to place the file. https://docs.djangoproject.com/en/dev/topics/auth/#writing-an-authentication-backend

like image 773
ArmenB Avatar asked Feb 23 '23 18:02

ArmenB


1 Answers

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

like image 170
Ignacio Vazquez-Abrams Avatar answered Mar 05 '23 15:03

Ignacio Vazquez-Abrams