Pinax: I can't login to django admin are, but i know the login details
-
27-05-2021 - |
Question
I'm using pinax basic app.
I know my admin area login details, and i can't login! i changed them and still cannot login. Why is that happening?
Solution
Looking at your settings.py, I notice that you deleted django.contrib.auth.backends.ModelBackend
. Adding this auth backend to AUTHENTICATION_BACKENDS
should help.
More info:
https://docs.djangoproject.com/en/1.4/topics/auth/#specifying-authentication-backends
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow