Search code examples
djangodjango-adminpinax

Pinax: I can't login to django admin are, but i know the login details


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