django admin login failure with valid user -
i've created new django app unable log (grappelli) admin valid superuser. i've checked user in shell -
>>> django.contrib.auth import authenticate >>> user = authenticate(username='admin', password='admin') >>> user.is_active , user.is_superuser true
when enter same credentials @ localhost:8000/admin error message saying 'please correct errors below'. no errors listed
i noticed there's no session being created in django_sessions table when try , login using browser (there sessions created shell login above).
i'm using django 1.6.2 grappelli , running on django's dev webserver.
if want login django admin should checked below options.
is_superuser true or is_staff true
for user login .
edit
try uninstall grappelli , login django admin.
Comments
Post a Comment