- Django 2 by Example
- Antonio Melé
- 56字
- 2025-04-04 16:49:43
Creating a superuser
First, we will need to create a user to manage the administration site. Run the following command:
python manage.py createsuperuser
You will see the following output; enter your desired username, email, and password, as follows:
Username (leave blank to use 'admin'): admin
Email address: admin@admin.com
Password: ********
Password (again): ********
Superuser created successfully.