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

Introduction

When you start a new app, the first thing to do is create the models that represent your database structure. We are assuming that you have previously created Django apps or at least, you have read and understood the official Django tutorial. In this chapter, we will see a few interesting techniques that make your database structure consistent throughout different apps in your project. Then, we will see how to create custom model fields in order to handle internationalization of your data in the database. At the end of the chapter, we will see how to use migrations to change your database structure in the process of development.

主站蜘蛛池模板: 定边县| 同德县| 三明市| 道真| 白城市| 芜湖市| 江川县| 资源县| 南昌市| 芦山县| 日照市| 鞍山市| 洪江市| 吉首市| 石阡县| 伊宁市| 来凤县| 东光县| 论坛| 浮梁县| 微山县| 嘉黎县| 台东县| 水城县| 通榆县| 浮山县| 西藏| 玉门市| 宜良县| 庆云县| 札达县| 钟祥市| 鹤山市| 靖江市| 托克逊县| 易门县| 南城县| 泽州县| 玉环县| 卓尼县| 江都市|