Home > Back-end >  django create super user command
django create super user command

Time:09-23

Cmd pic

Cmd 2 pic

Cmd 3 pic Cmd5 pic

hello , I had tried to use the createsuperuser command, it did not work, please can u help? The pics show the steps i used on windows cmd . I would have written it in text but its was not getting copied. Sorry, if u are not supposed to ask these easy qustions.

CodePudding user response:

step 1

python manage.py makemigrations

step 2

python manage.py migrate

step 3

python manage.py createsuperuser

CodePudding user response:

The error message is telling you to migrate your changes. It even gave you the command to run.

python manage.py migrate
  • Related