Django admin login failed with valid user
I just created a new django app but can't login to admin (grappelli) with a valid superuser. I checked the user in the shell -
from django.contrib.auth import authenticate user = authenticate(username='admin', password='admin') user.is_active and user.is_superuser True
When I enter the same credentials in localhost: 8000 / admin, I get a "Please correct the errors below" error. However errors are not listed
I noticed that no session is created in the django_sessions table when I try to login using the browser (there are sessions created for shell login above).
I am using django 1.6.2 with grappelli and running this on django dev webserver.
source to share