Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How is the management page in Django implemented?

Shulou Source: shulou.com Published: 2022-06-01 15:03:45 09月27日 Update

Today, I will talk to you about how the management page in Django is realized. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

The Django administration page is a good way to view the current data in our application and also provides us with a good graphical interface for creating or modifying that data. Let's get started:

When we run the project to access http://127.0.0.1:8000/admin, the administrative interface address of django appears:

To create a Super Admin account, first create a migration by performing python manage.py makemigrations under the django_project folder command line:

Next, execute python manage.py migrate to start the migration:

Next, to create a super user by performing python manage.py createsuperuser, you need to enter a user name, mailbox, password, confirm password, and confirm actions:

Then we run the python manage.py runserver startup project under the django_project folder, access http://127.0.0.1:8000/admin, and enter the username and password you just created:

Click Log in to log in:

Click Groups to view the group. Default is empty:

Click Users to view the administrator users that have been created:

Click the user to view detailed information, user name, encrypted password, mailbox, permissions, etc.:

You can also add and edit users:

After reading the above, do you have any further understanding of how the management page in Django is implemented? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: User administration password page content user name next data file folder interface administrator mailbox project input run good information command graphics Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker macOS MySQL Shulou Technology Apple