Django provides a few classes that help you manage paginated data — that is,
data that’s split across sev...
AI君
1年前 (2019-03-28) 87℃
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) 87℃
0喜欢
概况¶
The goal of internationalization and localization is to allow a single Web
application to offer its content in ...
AI君
1年前 (2019-03-28) 77℃
0喜欢
Although Python makes sending email relatively easy via the smtplib
module, Django provides a couple of light wrapper...
AI君
1年前 (2019-03-28) 93℃
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) 110℃
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) 90℃
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) 103℃
0喜欢
The request factory¶
class RequestFactory[source]¶
The RequestFactory shares the same API as
the test client. How...
AI君
1年前 (2019-03-28) 146℃
0喜欢
Django comes with a user authentication system. It handles user accounts,
groups, permissions and cookie-based user ...
AI君
1年前 (2019-03-28) 84℃
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) 206℃
0喜欢