Django文档

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

获取帮助

Having trouble? We’d like to help!

文档的组织

Django 有很多文档对其如何组织做高层次的概述可以帮助你知道在哪里寻找特定的内容

  • Tutorials带您通过一系列步骤创建Web应用程序。如果你是新的Django或Web应用程序开发那么可以从这里开始。另请参阅下面的“First steps”。
  • 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.

视图层

Django具有“视图”的概念来封装负责处理用户请求和返回响应的逻辑。通过以下链接查找所有您需要了解的视图:

模板层

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:

管理后台

查找所有需要了解的自动化管理界面,Django最受欢迎的功能之一:

安全

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:

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.

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.

Django开源项目

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