Django文档

Everything you need to know about Django.

获取帮助

Having trouble? We’d like to help!

第一步

Are you new to Django or to programming? This is the place to start!

模型层

Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application. Learn more about it below:

视图层

Django has the concept of “views” to encapsulate the logic responsible for processing a user’s request and for returning the response. Find all you need to know about views via the links below:

模板层

The template layer provides a designer-friendly syntax for rendering the information to be presented to the user. Learn how this syntax can be used by designers and how it can be extended by programmers:

表单

Django provides a rich framework to facilitate the creation of forms and the manipulation of form data.

开发流程

Learn about the various components and tools to help you in the development and testing of Django applications:

管理

Find all you need to know about the automated admin interface, one of Django’s most popular features:

安全

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

国际化和本地化

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

Python兼容性

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

地理框架

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.

其他核心功能

Learn about some other core functionalities of the Django framework:

Django开源项目

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