Create a new superuser

NOTE: If you are using Django 1.x, you need to replace the python3 command with python.

You can easily create a superuser account to access the Django admin site by following these steps, assuming that the projects folder is located at /opt/bitnami/apps/django/django_projects.

  • Change to your project folder:

    $ cd /opt/bitnami/apps/django/django_projects/PROJECT
  • Create a new superuser:

    $ python3 createsuperuser
  • Wait for the prompt and fill the required information to set up a new superuser.

Last modification May 7, 2020