In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
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.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.