Have you enabled the django.contrib.auth.context_processors.auth in the TEMPLATES section of your settings.py?
Also, do you mind posting your custom backend code?
Have you enabled the django.contrib.auth.context_processors.auth in the TEMPLATES section of your settings.py?
Also, do you mind posting your custom backend code?