BLOG

Superuser in Django - Need to create superuser in the console to enter Django admin.

python

I couldn't log in no matter how many times I tried using PythonAnywhere's admin login form.

It was caused by me trying to enter with a PythonAnywhere account.

If you have experience building django in your local environment, I think you already know.

I completely forgot that I need to create a superuser.

[Superuser] How to create a superuser in PythonAnywhere's console.

As a superuser in the console, you will need to enter your name, email address, and password.

python manage.py createsuperuser

I was able to log in when I challenged the form again with the superuser created here.

Please try to reference.

  1. python
  2. Superuser in Django - Need to create superuser in the console to enter Django admin.

AUTHOR

Almost 10 years have passed since I started learning web development. Learning web development has made my life more fulfilling. This is because the greatest benefit that can be obtained in the process of learning web development is that when you encounter difficulties, you acquire the attitude of actively searching for information to solve them on your own. And just as I learned a lot from the knowledge of my predecessors, I hope that by disseminating information in English, it will reach people around the world who want to learn web development. life is very short. I would be very happy if I could add even a little bit to your life by my outputting what I learned every day. Maybe the information is incorrect or outdated at times. I'll update when I find out.