createsuperuser

The first step is to create a superuser. This user will be able to access the administrative panel. To do this, we will pass the createsuperuser argument to manage.py and follow the instructions as they appear one by one:

C:Projectschapter12>python manage.py createsuperuser
Username: loki
Email address: [email protected]
Password:
Password (again):
Superuser created successfully.

The superuser is now available for logging into the administrative panel, using the password and username supplied.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset