Django 文档

关于 Django 你需要知道的一切.

获取帮助

遇到困难? 我们乐于提供帮助!

从零开始

你是刚接触 Django 或 新学编程? 这里是开始的地方!

Model 模型层

Django 提供了一个抽象的 (“模型 models”) 层, 方便为你的Web应用操纵和构造数据. 阅读下面内容了解更多:

View 视图层

Django 有个 “views视图” 的概念用来封装负责处理用户请求和返回响应数据的逻辑. 通过下面的连接可以查找到你所需要了解的关于视图的信息.

Template 模板层

模板层为渲染信息显示给用户提供了一个对设计师非常有好的语法. 学习这种语法如何被设计人员使用 并且了解程序员如何扩展它的功能:

表单

Django 提供了一个功能丰富的便捷创建表单并操纵表单数据的框架.

开发步骤

学习和了解开发和测试Django应用的各种组件和工具:

Admin后台

找到你需要了解的一切关于自动后台admin界面的相关信息, 这是Django最受欢迎的功能:

安全

Security is a topic of paramount importance in the development of Web applications and Django provides multiple protection tools and mechanisms:

Internationalization and localization

Django offers a robust internationalization and localization framework to assist you in the development of applications for multiple languages and world regions:

Python compatibility

Django aims to be compatible with multiple different flavors and versions of Python:

Geographic framework

GeoDjango intends to be a world-class geographic Web framework. Its goal is to make it as easy as possible to build GIS Web applications and harness the power of spatially enabled data.

Other core functionalities

Learn about some other core functionalities of the Django framework:

The Django open-source project

Learn about the development process for the Django project itself and about how you can contribute: