How to create super user in django?

How to create super user in django ?

To create super user in Django, follow the following steps -

  1. Run the command - python manage.py createsuperuser
  2. Enter the appropriate username - Username: admin
  3. Enter appropriate email ID - Email address: admin@example.com
  4. Enter the password twice (for confirmation).

Then the “Superuser” account will be created successfully.