In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about what the background admin of django is. 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.
Another powerful place of django is that it brings a very powerful background admin, which has its own graphic page, which can realize the simple addition, deletion, modification and query of model (model) data, which can be used through some settings.
To use django's admin, first make sure that the url route with admin is set
To manipulate the data table, you also need to register the model with the admin of django.
When designing a model, you can change the name display in admin by configuring the model parameters
Set up the account and password of the Super Admin, which is used to log in to the admin background of django.
Enter your ip: Port / admin/ in the browser to access the background of django.
In the root directory
# change background English to Chinese LANGUAGE_CODE = 'zh-hans' # time zone change set TIME_ZONE =' Asia/Shanghai' together with USE_TZ
USE_I18N = True
USE_L10N = True
USE_TZ = False
After reading the above, do you have any further understanding of what is the background admin of django? 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.