- Django 2 by Example
- Antonio Melé
- 99字
- 2021-06-25 21:18:59
Creating an administration site for your models
Now that we have defined the Post model, we will create a simple administration site to manage your blog posts. Django comes with a built-in administration interface that is very useful for editing content. The Django admin site is built dynamically by reading your model metadata and providing a production-ready interface for editing content. You can use it out of the box, configuring how you want your models to be displayed in it.
The django.contrib.admin application is already included in the INSTALLED_APPS setting, so we don't need to add it.
推薦閱讀
- Truffle Quick Start Guide
- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- 計(jì)算機(jī)網(wǎng)絡(luò)與數(shù)據(jù)通信
- 局域網(wǎng)組建、管理與維護(hù)項(xiàng)目教程(Windows Server 2003)
- Getting Started with Grunt:The JavaScript Task Runner
- 網(wǎng)管員必讀:網(wǎng)絡(luò)管理(第2版)
- 通信原理及MATLAB/Simulink仿真
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)及應(yīng)用
- 網(wǎng)絡(luò)利他行為研究:積極心理學(xué)的視角
- Hands-On Microservices with Node.js
- 云計(jì)算技術(shù)與標(biāo)準(zhǔn)化
- 新IP:面向泛在全場景的未來數(shù)據(jù)網(wǎng)絡(luò)
- ReasonML Quick Start Guide
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見(2018)
- 企業(yè)網(wǎng)絡(luò)組建與維護(hù)項(xiàng)目式教程