World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITian's, only for AI Learners.
Designed by IITian's, only for AI Learners.
New to InsideAIML? Create an account
Employer? Create an account
I have executed the following commands:
python manage.py createsuperuser
and fill out the information the superuser gets created it says
Superuser created successfully.
But when I try to log in with these credentials it says
Please enter the correct username and password for a staff account. Note that both fields may be case-sensitive.
Did you run
python manage.py migrate
before you run
python manage.py createsuperuser
During createsuperuser
process, you need the username and password, you don't need anything else, i.e. email id.
You should do this first, then run
python manage.py runserver
then goto
http://127.0.0.1:8000/admin/