Create a superuser
python manage.py createsuperuser
If given the wrong code is as follows
django.db.utils.OperationalError: no such table: auth_user
This is because there is no user table is not created any admin user, the solution:
run
python manage.py migrate
Then again create the super user, enter a user name, email, password
Run django project, visit http://127.0.0.1:8000/admin/, enter the account password to see
OK.