Question

Django admin panel

Posted November 2, 2021 57 views
Django

i can not to enter after
python3 manage.py createsuperuser
to django admin console, what can be wrong?

1 comment
  • Did you run python manage.py migrate before you ran python manage.py createsuperuser? During createsuperuser process, you need the username and password, you don’t need anything else, i.e. email.

    You should do this first, then run python manage.py runserver

    lastly, navigate to http://127.0.0.1:8000/admin/

    There really isn’t anything else you would need to do. If you are getting another error, please post it.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Uh, i should update my question - i found that in tutorial:

Step 3: Play in the admin area

The standard Django admin area is accessible at /admin. The login and password are stored in the DJANGO_USER* values you see when you call cat /root/.digitalocean_passwords while logged in over SSH.

But now i cannot edit this file - looks like in saved forever
so i will close this question and ask another one