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喜欢
The golden rule of Web application security is to never trust data from
untrusted sources. Sometimes it can be useful...
AI君
1年前 (2019-03-28) 103℃
0喜欢
HTTP clients can send a number of headers to tell the server about copies of a
resource that they have already seen. Th...
AI君
1年前 (2019-03-28) 82℃
0喜欢
A fundamental trade-off in dynamic websites is, well, they’re dynamic. Each
time a user requests a page, the Web ...
AI君
1年前 (2019-03-28) 97℃
0喜欢
The request factory¶
class RequestFactory[source]¶
The RequestFactory shares the same API as
the test client. How...
AI君
1年前 (2019-03-28) 139℃
0喜欢
Django comes with a user authentication system. It handles user accounts,
groups, permissions and cookie-based user ...
AI君
1年前 (2019-03-28) 77℃
0喜欢
Django provides a small set of tools that come in handy when writing tests.
The test client¶
The test client is a Pyt...
AI君
1年前 (2019-03-28) 199℃
0喜欢
See also
The testing tutorial, the testing tools
reference, and the advanced testing topics.
This document is split...
AI君
1年前 (2019-03-28) 86℃
0喜欢