系统检查框架是一组验证Django项目的静态检查。 它检测到常见的问题,并提供了如何解决这些问题的提示。 该框架是可扩展的,所以你可以轻松地添加自己的检查。
Checks can be triggered explicitly via...
AI君
1年前 (2019-03-28) 88℃
0喜欢
Django includes a “signal dispatcher” which helps allow decoupled applications
get notified when actions ...
AI君
1年前 (2019-03-28) 102℃
0喜欢
Django的settings文件包含Django应用的所有配置项。该文档会介绍settings是如何运行,以及有哪些设置项是可用的。
基础¶
配置文件只是一个使用模块级变量的一个Python模块。
一组配置例子:
ALLOWED...
AI君
1年前 (2019-03-28) 73℃
0喜欢
Django’s serialization framework provides a mechanism for “translating” Django
models into other form...
AI君
1年前 (2019-03-28) 89℃
0喜欢
本文档概述了一些技术和工具,这些技术和工具可以帮助您更有效地运行Django代码——更快,并且使用更少的系统资源。
介绍¶
通常,首先要考虑的是编写*工作的*代码,它的逻辑功能与产生预期输出所需的逻辑功能相同。然而,有时,这并不足以使...
AI君
1年前 (2019-03-28) 105℃
0喜欢
This document is an overview of Django’s security features. It includes advice
on securing a Django-powered site....
AI君
1年前 (2019-03-28) 83℃
0喜欢
Django provides a few classes that help you manage paginated data — that is,
data that’s split across sev...
AI君
1年前 (2019-03-28) 81℃
0喜欢
A quick logging primer¶
Django uses Python’s builtin logging module to perform system logging.
The usage of t...
AI君
1年前 (2019-03-28) 80℃
0喜欢
概况¶
The goal of internationalization and localization is to allow a single Web
application to offer its content in ...
AI君
1年前 (2019-03-28) 71℃
0喜欢
Although Python makes sending email relatively easy via the smtplib
module, Django provides a couple of light wrapper...
AI君
1年前 (2019-03-28) 86℃
0喜欢