| Age | Commit message (Collapse) | Author |
|
|
|
The EmailMessage documentation describes the initialization parameters
and states they 'can be set at any time prior to calling the send()
method.'. However, the 'headers' parameter's corresponding attribute is
called 'extra_headers'.
|
|
|
|
attribute
Thanks mitar for the report and Tim Graham for the review.
|
|
Refs #14461. Thanks Ramiro Morales for pointing this.
|
|
RedirectView.get_redirect_url.
Thanks to Tim for the review.
|
|
Add the trimmed option to the blocktrans tag to trim any newlines and
whitespace from its content.
This allows the developer to indent the blocktrans tag without adding
new lines and whitespace to the msgid in the PO file.
Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the
report.
|
|
Fixed #13725 -- take url scheme into account in assertRedirects
Thanks to Loic for review.
|
|
Scheme is handled correctly when making comparisons between two URLs. If
there isn't any scheme specified in the location where we are redirected to,
the original request's scheme is used. If present, the scheme in
``expected_url`` is the one used to make the comparations to.
|
|
|
|
|
|
* Safer for use in multiprocess environments
* Better random culling
* Cache files use less disk space
* Safer delete behavior
Also fixed #15806, fixed #15825.
|
|
|
|
This patch introduces the Prefetch object which allows customizing prefetch
operations.
This enables things like filtering prefetched relations, calling select_related
from a prefetched relation, or prefetching the same relation multiple times
with different querysets.
When a Prefetch instance specifies a to_attr argument, the result is stored
in a list rather than a QuerySet. This has the fortunate consequence of being
significantly faster. The preformance improvement is due to the fact that we
save the costly creation of a QuerySet instance.
Thanks @akaariai for the original patch and @bmispelon and @timgraham
for the reviews.
|
|
Partial forward port of a71ff76 from stable/1.6.x.
|
|
|
|
|
|
Thanks Claude for catching it.
|
|
|
|
It's possible to use something like {{ foo|dictsort:'bar.baz' }}
but this wasn't tested or documented.
|
|
Thanks Tim.
|
|
Improved documentation about zh-* deprecation and upgrade path.
Thanks to Baptiste Mispelon for the code reviews.
|
|
|
|
Language codes for Chinese are zh_Hans (Simplified) and zh_Hant (Traditional).
Added support for browsers that still send the deprecated language codes.
Thanks to Olli Wang for the report.
|
|
|
|
|
|
|
|
|
|
|
|
Thanks rpq at winscores.com for the report.
|
|
All request methods of ``django.test.client.Client`` receive a ``secure``
argument that defaults to ``False`` indicating whether or not to make the
request through https.
Thanks Aymeric Augustin for the review.
|
|
Fixed #9523 -- Restart runserver after translation MO files change
|
|
Thanks glarrain for the suggestion.
|
|
Thanks to Krzysztof Kulewski for the initial patch.
|
|
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
|
|
|
|
Thanks thevlad at gmail.com for the report.
|
|
Thanks k_sze for the report.
|
|
|
|
Used pyinotify (when available) to replace the "pool-every-one-second"
mechanism in `django.utils.autoreload`.
Thanks Chris Lamb and Pascal Hartig for work on the patch.
|
|
|
|
Thanks wim at go2people.nl for the report.
|
|
|
|
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
|
|
Thanks dev@simon.net.nz for the suggestion and vijay_shanker for the patch.
|
|
refs 2ca00faa913754cd5860f6e1f23c8da2529c691a
|
|
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the
admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is
used to get the url. If it's a callable, the callable is called with the object
as the only parameter. If ``False``, not link is displayed.
With the aim of maitaining backwards compatibility, ``True`` is the default.
|
|
|
|
|
|
http://sphinx.readthedocs.org/en/latest/markup/para.html?highlight=note#directive-note
|