Django documentation

在这里, 你将了解到关于Django的一切.

获得帮助

有问题吗? 通过以下渠道获取帮助!

文档如何组织

Django有大量文档. 高水平的组织概述可以帮助你如何找到你需要的内容:

  • 教程(Tutorials) 如果你初次接触Django或web应用开发, 可以从这里开始, 手把手教你通过一些列的步骤来创建一个web应用程序, . 也可以从 “第一步” 开启学习之旅.
  • 主题指南(Topic guides) discuss key topics and concepts at a fairly high level and provide useful background information and explanation.
  • 参考指南(Reference guides) contain technical reference for APIs and other aspects of Django’s machinery. They describe how it works and how to use it but assume that you have a basic understanding of key concepts.
  • How-to guides are recipes. They guide you through the steps involved in addressing key problems and use-cases. They are more advanced than tutorials and assume some knowledge of how Django works.

模板层(template)

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:

表单(Forms)

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

The development process

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

The admin

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

Security

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:

Performance and optimization

There are a variety of techniques and tools that can help get your code running more efficiently - faster, and using fewer system resources.

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: