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:\Projects\chapter12>python manage.py createsuperuserUsername: lokiEmail address: email@server.comPassword:Password (again):Superuser created successfully.

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

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.