Federico Jaramillo Martínez
c4e5384e73
[3.1.x] Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships.
...
Thanks dacotagh for the report.
Backport of 179d9dc0c2
from master
2020-08-31 10:40:21 +02:00
Simon Charette
2986ec031d
[3.1.x] Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.
...
The optimization introduced in 7acef095d7
did not properly handle
deletion involving filters against aggregate annotations.
It initially was surfaced by a MariaDB test failure but misattributed
to an undocumented change in behavior that resulted in the systemic
generation of poorly performing database queries in 5b83bae031
.
Thanks Anton Plotkin for the report.
Refs #23576 .
Backport of f6405c0b8e
from master
2020-08-31 09:22:59 +02:00
Mariusz Felisiak
655e1ce6b1
[3.1.x] Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.
...
Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
Backport of 0be51d2226
from master
2020-08-28 19:12:02 +02:00
Kevin Michel
3a42c0447b
[3.1.x] Fixed #31928 -- Fixed detecting an async get_response in various middlewares.
...
SecurityMiddleware and the three cache middlewares were not calling
super().__init__() during their initialization or calling the required
MiddlewareMixin._async_check() method.
This made the middlewares not properly present as coroutine and
confused the middleware chain when used in a fully async context.
Thanks Kordian Kowalski for the report.
Backport of 825ce75fae
from master
2020-08-28 12:35:53 +02:00
Mariusz Felisiak
14a19700d8
[3.1.x] Fixed #31912 -- Removed strict=True in Path.resolve() in project template and CommonPasswordValidator.
...
This caused permission errors when user didn't have permissions to
all intermediate directories in a Django installation path.
Thanks tytusd and leonyxz for reports.
Regression in edeec1247e
and
26554cf5d1
.
Backport of e39e727ded
from master
2020-08-28 05:59:11 +02:00
Mariusz Felisiak
9075d1f662
[3.1.x] Fixed #31936 -- Fixed __in lookup on key transforms for JSONField.
...
This resolves an issue on databases without a native JSONField
(MariaDB, MySQL, SQLite, Oracle), where values must be wrapped.
Thanks Sébastien Pattyn for the report.
Backport of 1251772cb8
from master
2020-08-26 22:14:46 +02:00
Michael Galler
b6d2419120
[3.1.x] Fixed #31905 -- Made MiddlewareMixin call process_request()/process_response() with thread sensitive.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 547a07fa7e
from master
2020-08-26 07:54:55 +02:00
Mariusz Felisiak
e81aa7a94a
[3.1.x] Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context."
...
This reverts commit 4ed534758c
.
Backport of bb8f66934d
from master
2020-08-24 11:39:05 +02:00
Mariusz Felisiak
f247c66bb5
[3.1.x] Refs #31877 -- Reverted "Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning."
...
This reverts commit 20799cc0a6
.
Backport of 04e87e79a0
from master
2020-08-24 11:38:57 +02:00
Kaustubh
5d55b878cf
[3.1.x] Fixed #31925 -- Fixed typo in docs/releases/3.0.txt.
...
Backport of 3e753d3de3
from master
2020-08-21 09:48:30 +02:00
Ninad Kulkarni
8fb24a5130
[3.1.x] Fixed #31906 -- Fixed typo in docs/ref/forms/fields.txt.
...
Backport of 927bd888dd
from master
2020-08-21 09:43:51 +02:00
Juan Pedro Fisanotti
af190bf263
[3.1.x] Improved wording in async views docs.
...
Backport of 41725602af
from master
2020-08-20 09:08:19 +02:00
Enderson Menezes
26ccc7701d
[3.1.x] Fixed #31909 -- Fixed typo in docs/ref/contrib/admin/index.txt.
...
Backport of 67e4a9a4b9
from master
2020-08-20 07:51:20 +02:00
Mariusz Felisiak
7eaa2776e1
[3.1.x] Fixed #31895 -- Fixed crash when decoding invalid session data.
...
Thanks Matt Hegarty for the report.
Regression in d4fff711d4
.
Backport of 4376c2c7f8
from master
2020-08-19 12:06:55 +02:00
David Smith
b2fc5292b2
[3.1.x] Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
...
Backport of e2e34f4de3
from master
2020-08-18 22:59:16 +02:00
Mariusz Felisiak
6eb0f4f70d
[3.1.x] Refs #17642 -- Doc'd min_num and validate_min arguments in modelformset_factory() docs.
...
Changed arguments ordering to match the modelformset_factory()
signature.
Backport of 13704b057d
from master.
2020-08-18 09:33:49 +02:00
Jon Dufresne
c5a804207d
[3.1.x] Fixed #31892 -- Added backward incompatibility note about Media <script> tags changes.
...
Refs 31080.
Backport of dd5173ca1b
from master
2020-08-17 10:51:44 +02:00
Mariusz Felisiak
18e87ac85f
[3.1.x] Refs #31863 -- Added release notes for 94ea79be13
.
...
Backport of 21768a99f4
from master
2020-08-13 16:30:37 +02:00
Gert Burger
85c47b9a73
[3.1.x] Fixed #31863 -- Prevented mutating model state by copies of model instances.
...
Regression in bfb746f983
.
Backport of 94ea79be13
from master
2020-08-13 15:27:18 +02:00
Adam Johnson
9ae40d8137
[3.1.x] Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning.
...
SimpleLazyObjects cause a crash when filtering.
Thanks Tim L. White for the report.
Regression in 4ed534758c
.
Backport of 20799cc0a6
from master
2020-08-13 13:13:25 +02:00
Daniel Hillier
f139372491
[3.1.x] Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
...
Backport of 60626162f7
from master
2020-08-11 12:30:31 +02:00
Carlton Gibson
02b474f2a4
[3.1.x] Fixed #31865 -- Adjusted admin nav sidebar template to reduce debug logging.
...
Thanks to Mariusz Felisiak for review.
Backport of 0aeb802cf0
from master
2020-08-11 11:43:22 +02:00
Mariusz Felisiak
daf4f70eae
[3.1.x] Added stub release notes for 2.2.16 and 3.0.10.
...
Backport of 8a5683b6b2
from master
2020-08-11 11:12:51 +02:00
Roy Zheng
02572bfc59
[3.1.x] Added note about password updates on argon2 attributes change.
...
Backport of 804f2b7024
from master
2020-08-11 08:20:56 +02:00
אורי
a1ce98fa6f
[3.1.x] Fixed #31871 -- Updated SESSION_COOKIE_SAMESITE comment in global_settings.py.
...
Follow up to b33bfc3839
.
Backport of ad827ddaef
from master
2020-08-10 08:47:21 +02:00
Uri
cdfdbb3411
[3.1.x] Refs #31864 -- Doc'd that DEFAULT_HASHING_ALGORITHM requires 3.1.1+ in release notes.
...
Backport of b2b0711b55
from master
2020-08-08 17:33:43 +02:00
Mariusz Felisiak
c21bbe0883
[3.1.x] Fixed #31864 -- Fixed encoding session data during transition to Django 3.1.
...
Thanks אורי for the report.
Backport of 99abfe8f4d
from master
2020-08-07 21:43:46 +02:00
Adam Alton
1e3d8bd3a1
[3.1.x] Removed unnecessary sentence in QuerySet docs.
...
Backport of 6e9c5ee88f
from master
2020-08-07 08:06:21 +02:00
Thomas
81ed126dff
[3.1.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.
...
Backport of cdead4f013
from master
2020-08-07 07:57:21 +02:00
Phil Jones
20ec568e46
[3.1.x] Added Hypercorn to ASGI deployment guide.
...
Backport of 1bd1264f2e
from master
2020-08-05 12:15:12 +02:00
David Smith
b81cdaf20d
[3.1.x] Fixed #29336 -- Doc'd circular template inheritance
...
Backport of 2c2f4b3799
from master
2020-08-05 11:37:27 +02:00
Mariusz Felisiak
1c3d3294c1
[3.1.x] Fixed #31854 -- Fixed wrapping of long model names in admin's sidebar.
...
Backport of e70dc506d7
from master
2020-08-05 10:55:11 +02:00
007gzs
ff8e6e83a9
[3.1.x] Fixed #31853 -- Fixed wrapping of translated action labels in admin sidebar.
...
Backport of b0af56f639
from master
2020-08-05 10:27:17 +02:00
Mariusz Felisiak
42e31d4922
[3.1.x] Added stub release notes for 3.1.1.
...
Backport of 6c19230297
from master
2020-08-04 10:42:58 +02:00
Mariusz Felisiak
795943e6e7
[3.1.x] Post-release version bump.
2020-08-04 09:59:26 +02:00
Mariusz Felisiak
ec5bc3a991
[3.1.x] Bumped version for 3.1 release.
2020-08-04 09:56:19 +02:00
Mariusz Felisiak
34b6622ff9
[3.1.x] Finalized release notes for Django 3.1.
...
Backport of df37c2ec76
from master
2020-08-04 09:50:21 +02:00
Mariusz Felisiak
9857352655
[3.1.x] Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.
...
It's a transitional setting helpful in migrating multiple instance of
the same project to Django 3.1+.
Thanks Markus Holtermann for the report and review, Florian
Apolloner for the implementation idea and review, and Carlton Gibson
for the review.
Backport of d907371ef9
from master.
2020-08-04 09:39:29 +02:00
Mariusz Felisiak
acb7866b1f
[3.1.x] Moved note about features deprecated in Django 3.1 above their descriptions.
...
Backport of bce4a53670
from master
2020-08-03 20:51:43 +02:00
Mariusz Felisiak
bdad2adb26
[3.1.x] Added release date for 2.2.15 and 3.0.9.
...
Backport of b68b8cb89a
from master
2020-08-03 08:56:15 +02:00
Claude Paroz
08fb75ea64
[3.1.x] Updated translations from Transifex
...
Backport of 1a60838fa6
from master
2020-08-01 21:39:47 +02:00
Mariusz Felisiak
c67314ff95
[3.1.x] Refs #27468 -- Fixed TestSigner.test_dumps_loads_legacy_signature.
...
Added in 1d6fdca557
.
Backport of 7c929fcf7c
from master
2020-08-01 20:43:34 +02:00
Mariusz Felisiak
b84b1921da
[3.1.x] Refs #27468 -- Added tests and release notes for signing.dumps()/loads() changes.
...
Follow up to 71c4fb7beb
.
Backport of 1d6fdca557
from master
2020-07-31 22:07:34 +02:00
Mariusz Felisiak
0e02560535
[3.1.x] Corrected signing.dumps()/loads() signatures in docs.
...
Backport of 8703680ebe
from master
2020-07-31 11:33:50 +02:00
Tim Graham
32cb1fe1c6
[3.1.x] Refs #31829 -- Added DatabaseFeatures.json_key_contains_list_matching_requires_list.
...
CockroachDB's behavior matches PostgreSQL.
Backport of 184a6eebb0
from master
2020-07-30 06:40:32 +02:00
Andrzej Bartosiński
df8696c0b7
[3.1.x] Corrected admin.register() signature in docs.
...
Backport of eb215da363
from master
2020-07-29 12:54:26 +02:00
Claude Paroz
06474e929f
[3.1.x] Refs #30165 -- Removed leftover 'u' prefix.
...
Backport of bac5777bff
from master
2020-07-29 10:20:08 +02:00
sage
23ce3d8491
[3.1.x] Fixed #31829 -- Used JSONField __contains lookup on key transforms.
...
Backport of 2d8dcba03a
from master
2020-07-28 20:53:11 +02:00
Mariusz Felisiak
247bcef6b4
[3.1.x] Fixed #31836 -- Dropped support for JSONField __contains and __contained_by lookups on SQLite.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
Backport of ba691933ce
from master.
2020-07-28 13:08:19 +02:00
Mariusz Felisiak
028a5f86f2
[3.1.x] Fixed #31835 -- Dropped support for JSONField __contains lookup on Oracle.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
Backport of 02447fb133
from master
2020-07-28 11:54:35 +02:00