Convert the auth.py code into a django.contrib.auth authentication
backend. This removes the need for the hack setting user.backend manually and lets dependent code use the standard authenticate() method.
Showing
Please
register
or
sign in
to comment