How to Create a Super User in Django

  1. Go to Terminal under the project
  2. Write the below command
$ python manage.py createsuperuser

3. Enter the username and email address.

Username: admin
Email address: youremail@gmail.com
Password: ********
Password (again): *******
Superuser created successfully.

4. Now login to the Admin page using below link and

http://127.0.0.1:8000/admin/login/?next=/admin/

5. After login you will see the below admin dashboard.

Leave a Reply

Your email address will not be published.