| Age | Commit message (Collapse) | Author |
|
|
|
* Limit the password length to 4096 bytes
* Password hashers will raise a ValueError
* django.contrib.auth forms will fail validation
* Document in release notes that this is a backwards incompatible change
Thanks to Josh Wright for the report, and Donald Stufft for the patch.
This is a security fix; disclosure to follow shortly.
Backport of aae5a96d5754ad34e48b7f673ef2411a3bbc1015 from master.
|
|
Fixed the bug that a QuerySet that prefetches related objects cannot be
pickled and unpickled more than once (The second pickling attempt
raises an exception).
Added a new test for the queryset pickling idempotency.
The bug was introduced by
bac187c0d8e829fb3ca2ca82965eabbcbcb6ddd5.
|
|
contrib.auth
Thanks Collin Anderson for the report.
Backport of 425d076d0c from master
|
|
|
|
|
|
paths.
Thanks Rainer Koirikivi for the report and draft patch.
This is a security fix; disclosure to follow shortly.
Backport of 7fe5b656c9 from master
|
|
To enable testing on Oracle 12c
|
|
contrib.sessions
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.
Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
Backport of b0ce6fe656 from master
|
|
|
|
|
|
This is a security fix; disclosure to follow shortly.
|
|
This is a security fix; disclosure to follow shortly.
|
|
replacement for the contrib app. Backport from master.
|
|
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
|
|
Backport of 17559e6eb0 from master
|
|
Thanks to av@rdf.ru and flarno11@yahoo.de for the report.
Backport of 4fd94969d8 from master
|
|
Thanks bmispelon for the report.
Backport of 9b88dd3809 from master
|
|
Thanks Martyn Clement for the report and the initial patch.
Backport of 27c1a7257 from master.
|
|
down aliases
Thanks simonpercivall.
Backport of d9c580306c from master
|
|
than LocMemCache.
As override_settings was used after the initialization of the session backend,
we need to use a new session backend here.
Backport of 8c1cc4b3b0 from master
|
|
Backport of 3c736207a3 from master
|
|
Backport of d63327d843 from master.
|
|
aliases for defau
Thanks simonpercivall.
Backport of 2cbd579efe from master.
|
|
Thanks littlepig for the report.
Backport of f407f75aae from master.
|
|
Affected language: Mexican Spanish, Mongolian, Romanian, Turkish
Translations for 1.6 and master will be refetched from Transifex.
Thanks ruless at gmail.com for the report.
|
|
Thanks Baptiste Mispelon for the suggestion.
Backport of c5bc98d7e1 from master.
|
|
Thanks Riley Strong for the report.
Backport of 3fd0ee5b46 from master
|
|
In Django < 1.6, override_settings restores the settings module that was
active when the override_settings call was executed, not when it was
run. This can make a difference when override_settings is applied to a
class, since it's executed when the module is imported, not when the
test case is run.
In addition, if the settings module for tests is stored alongside the
tests themselves, importing the settings module can trigger an import
of the tests. Since the settings module isn't fully imported yet,
class-level override_settings statements may store a reference to an
incorrect settings module. Eventually this will result in a crash during
test teardown because the settings module restored by override_settings
won't the one that was active during test setup.
While Django should prevent this situation in the future by failing
loudly in such dubious import sequences, that change won't be backported
to 1.5 and 1.4. However, these versions received the "allowed hosts"
patch and they're prone to "AttributeError: 'Settings' object has no
attribute '_original_allowed_hosts'". To mitigate this regression, this
commits stuffs _original_allowed_hosts on a random module instead of the
settings module.
This problem shouldn't occur in Django 1.6, see #20290, but this patch
will be forward-ported for extra safety.
Also tweaked backup variable names for consistency.
|
|
Backport of 1514f17aa60772f48839130f9a5071b9ffe15213 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.
|
|
A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error
reporting recurse infinitely on certain rare conditions. Fixed this by
not trying to print the given lookup kwargs.
Backpatch of 266c0bb23e9d64c47ace4d162e582febd5a1e336
|
|
signals.
Thanks brandon@ and Anssi for the report.
Backport of 2c62a509de from master
|
|
Made a few minor compatibility adjustments.
Backport of e81e319f from master.
|
|
Backport of 86b4ac66 from master.
|
|
`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.
|
|
Backport from master (a5becad9094e5c5403b692b9a7b3a6ffaabf64a3).
Signed-off-by: Jannis Leidel <jannis@leidel.info>
|
|
This is a partial backport of commit eb9430fc4be1. Without this,
geojson support is never detected with Spatialite.
Refs #20252 and #19028.
|
|
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.
|
|
Backport of 216580e034.
|
|
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
|
|
Backport of ec04fd1344 from master
|
|
|
|
|
|
Polish, Telugu, Georgian, Azerbaijani, Norwegian Bokmål, Basque,
Dutch, Thai, Spanish (Argentina), Afrikaans.
|
|
Backport of 9e462f810194800af30ea19a6fb8ac5697d839b4 from master.
|