| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Requests made with django.test.Client.login() and logout() respect
defaults defined in django.test.Client instantiation and are processed
through middleware.
Thanks to Loic for the reviews.
|
|
|
|
Thanks Keryn Knight for the report.
|
|
|
|
Thanks Elec for the report and Simon Charette for the review.
|
|
Thanks Elec for the report and Simon Charette for the review.
Refs #21397.
|
|
Thanks marcin at sokrates.pl.
|
|
Thanks pwr for the suggestion.
|
|
Partial forward port of e85baa813f.
|
|
The GenericRelation refactoring removed GenericRelations from
model._meta.many_to_many. This had the side effect of disallowing
editable GenericRelations in ModelForms. Editable GenericRelations
aren't officially supported, but if we don't fix this we don't offer any
upgrade path for those who used the ability to set editable=True
in GenericRelation subclass.
Thanks to Trac alias joshcartme for the report and stephencmd and Loic
for working on this issue.
|
|
Thanks alasdair.
|
|
|
|
Thanks oubiga for the suggestion.
|
|
Thanks olof.bjarnason at gmail.com for the report.
|
|
|
|
|
|
|
|
|
|
Also removed a sentence that was incorrect: raising a
`ValidationError` inside `Form.clean` doesn't clear the
`cleaned_data` attribute.
Thanks to loic84 and timograham for the review.
|
|
Fixed #21388 -- Corrected language code for Frisian
|
|
Exposing the level name (e.g. "info") makes it possible to prepend
something to the class name. For example, Twitter Bootstrap has
an alert-info class. This class can now be added to the message
using `class="alert-{{ message.level_tag }}".
Because the level_tag was on the end of the `tags` property, it
could not be used in this fashion when extra_tags were given.
|
|
|
|
Added description of MySQL Connector/Python
|
|
Replaced the custom, untested memoize with a similar decorator from Python's
3.2 stdlib. Although some minor performance degradation (see ticket), it is
expected that in the long run lru_cache will outperform memoize once it is
implemented in C.
Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of
replacing memoize with lru_cache.
|
|
Reorganized the MySQLdb section into a "MySQL DB API Drivers" section that describes both MySQLdb and MySQL Connector/Python. Included description of the Django adaptors for these DB API drivers.
|
|
|
|
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
|
|
Filtering out static file requests in runserver has been judged
arbitrary and can hide some debugging-related activity.
Thanks Roy Smith for the report and Aymeric Augustin for the
review.
|
|
|
|
Thanks arjan at anymore.nl for the report.
|
|
|
|
|
|
|
|
|
|
Thanks Andreas Pelme for the report and initial patch, and
Aymeric Augustin, Shai Berger and Tim Graham for the reviews.
|
|
|
|
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.
|