Django provides a default admin panel, where you can register your models and perform various operations on it which can be done by visting the /admin
. In order to access the admin panel in Django, you will need to create a superuser to login.
The command to create a superuser in Django is :
python manage.py createsuperuser
After executing the command, it will ask for a username which should be unique, then the email address it may be left blank and then you will be required to set a password for the user.
After creating a superuser, you can login to the admin panel by visting the following url : http://127.0.0.1:8000/admin By entering the username and password, you will be able to login successfully. The Groups and Users, are the default authentication models provided by Django. Still the Note model is not visible here as we have not registered the model.