官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 郴州市| 莆田市| 睢宁县| 独山县| 游戏| 绿春县| 小金县| 东安县| 沈丘县| 竹溪县| 婺源县| 阿拉善右旗| 武义县| 望奎县| 宾阳县| 平阳县| 开远市| 兴化市| 越西县| 阿拉善右旗| 当雄县| 邯郸市| 连州市| 伊金霍洛旗| 乐业县| 本溪| 栖霞市| 仪陇县| 贺兰县| 贵港市| 米易县| 留坝县| 黔西| 彭泽县| 九龙县| 陵川县| 芜湖市| 绩溪县| 邵武市| 吉林省| 曲麻莱县|