| Age | Commit message (Collapse) | Author |
|
This is a security fix; disclosure to follow shortly.
|
|
The failure wasn't present in 1.6+, so this is not a backpatch.
|
|
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
|
|
|
|
down aliases
Thanks simonpercivall.
Backport of d9c580306c from master
|
|
aliases for defau
Thanks simonpercivall.
Backport of 2cbd579efe from master.
|
|
|
|
There were a couple of regressions related to field pickling. The
regressions were introduced by QuerySet._known_related_objects caching.
The regressions aren't present in master, the fix was likely in
f403653cf146384946e5c879ad2a351768ebc226.
Fixed #20157, fixed #20257. Also made QuerySets with model=None
picklable.
|
|
`UnicodeDecodeError`
Handle the `UnicodeDecodeError` exception, send a warning to `stdout` with the
file name and location, and continue processing other files.
Backport of 99a6f0e77 from master.
|
|
a5becad9094e5c5403b692b9a7b3a6ffaabf64a3.
Backport of 780fa48f5fb81b2f0f58de95167abff84a6149aa from master
|
|
Backport of b04fd579d5 from master.
|
|
BoundField.label_tag
Also cleaned up label escaping and consolidated the test suite regarding
label_tag.
Backport of ab686022f from master.
|
|
Thanks Baptiste Mispelon for the review.
Backport of fe01404bb9 from master.
|
|
based on the `SCRIPT_NAME` environment parameter or the `FORCE_SCRIPT_NAME` setting, regardless of whether or not those have a trailing slash. Thanks to bmispelon for the review.
Backport of 2f81a0ca6543f
|
|
This is a fix to the wrong behavior that 15c3906eeb introduced.
Backport of 4befef9 from trunk.
|
|
Backport of 654d8e9.
|
|
Also don't compete with -W CLI option.
Thanks to Aymeric Augustin for the catch, and Claude Paroz for the patch.
Backport of e79b857a07905340556f781a7d63016236b21c61 from master.
|
|
Backpatch of e17fa9e877e84e93b699c2bd13ea48dbbb86e451
|
|
This was a regression due to unicode_literals usage. Thanks Ivan
Virabyan for the report and the initial patch.
Backport of 164528acc8 from master.
|
|
Python 2.6 has some different behaviour when checking
isinstance(foo, collections.Iterator).
Backport of 829dc3c5 from master.
|
|
Classes overriding __eq__ need a __hash__ such that equal objects have
the same hash.
Thanks akaariai for the report and regebro for the patch.
Backport of e76147a from master.
|
|
LiveServerAddress test
Backport of 6d52bcbb7c from master.
|
|
Querying the reverse side of nullable to_field relation, where both
sides can contain null values resulted in incorrect results. The reason
was not detecting '' as NULL.
Refs #17541, backpatch of 09fcb70c804b76fccc8fc0ac545873e5ab30c00a.
|
|
The admin_widgets tests were issuing click() to the browser but
didn't wait for the effects of those clicks. This caused the resulting
request to be processed concurrently with the test case. When using
in-memory SQLite this caused weird failures.
Also added wait_page_loaded() to admin selenium tests for code
reuse.
Fixed #19856, backpatch of 50677b29af39ca670274fb45087415c883c78b04
|
|
There was a variable overwrite error in negated join filtering. This
happened when add_filter() was adding the IS NULL condition to the
WHERE clause.
This is not a backport from master as there have been some other
refactorings which made this patch irrelevant.
The patch is from Ian Kelly.
|
|
This is a security fix. Disclosure and advisory coming shortly.
|
|
This is a security fix. Disclosure and advisory coming shortly.
Patch by Russell Keith-Magee.
|
|
This is a security fix. Disclosure and advisory coming shortly.
|
|
validation.
This is a security fix; disclosure and advisory coming shortly.
|
|
Thanks Danilo Bargen for the report.
Backport of 63236161 from master.
|
|
Backport of 7d5e35cdb46124e2471
|
|
The reason was that the except clause needed to remove a connection
from the django.db.connections dict, but other parts of Django do not
expect this to happen. In addition the except clause was silently
swallowing the exception messages.
Refs #19707, special thanks to Carl Meyer for pointing out that this
approach should be taken.
|
|
Backpatch of 604d8763dc2c901a3557e15880895d88af5c4127.
|
|
When a query had a complex where condition (a condition targeting more
than the base table) a subquery was used for deletion. However, the
query had default ordering from the model's meta and Oracle doesn't
work with ordered subqueries.
The regression was caused by fast-path deletion code introduced in
1cd6e04cd4f768bcd4385b75de433d497d938f82 for fixing #18676.
Thanks to Dylan Klomparens for the report.
Backpatch of 8ef3235034a1a7616714a5d61486dc68536f74ee
|
|
Backpatch of a4e97cf315142e61bb4bc3ed8259b95d8586d09c
|
|
Backpatch of f556df90be995a83b979cf875705d98521ab4dc7. Backpatching
these tests so that it will be easier to backpatch the fix for #19707.
|
|
causing spurious failures with Pypy and Postgres.
Backport of db09a2de6e1bc7121
|
|
The new regex seems not stable enough for being released. Stripping
with regex might need reevaluation for the next release.
Refs #19237.
|
|
ModelAdmin.get_form() method is overridden.
Backport of 0694d2196f0fad
|
|
Thanks rafales.
Backport of 9a4a1ce.
|
|
content_type.
Thanks Tim for the report and initial patch.
Backport of 89cb771 from master.
|
|
|
|
Thanks Gavin Wahl.
Backport of 23e319d.
|
|
Backport of ee26797cff from master
|
|
Thanks Stefan Koegl for the report and Simon Charette for the review.
Backport of b9c8bbf37 from master.
|
|
|
|
non-slash-ending paths
Thanks Daniel Gerzo for the report and the initial patch.
Backport of bcdb4898c from master.
|
|
This regression was introduced by the 'unicode_literals' patch.
Backport of f08e739bc2 from master.
|
|
Backport of ce580dd8ea04237cfe34cd02df0b8944a5345f4f from master.
|
|
Refs #19546. On Python 2.6, DeprecationWarnings are visible by
default.
Backport of e6949373b from master.
|