Django Admin Create Superuser
Before you can login to the admin panel of your Django project, you'll need to create a superuser account. This is done by calling the
createsuperuser command using
First, open your terminal and cd to the root of your project where the
manage.py file is located.
Now run the following command to create a superuser.
python manage.py createsuperuser
Follow the instructions provided to create a username and password and keep those logged down somewhere safe.
You can now login to your application by going to