- Django 2 by Example
- Antonio Melé
- 56字
- 2021-06-25 21:18:59
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.