David Smith
b2fc5292b2
[3.1.x] Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
...
Backport of e2e34f4de3b90f3820ee11d49cc369ef573bc2ef 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 13704b057d3c77d9442a150f79d8fad34bcdb995 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 dd5173ca1b3e65f8664ad90b81cba032826991dc from master
2020-08-17 10:51:44 +02:00
Mariusz Felisiak
18e87ac85f
[3.1.x] Refs #31863 -- Added release notes for 94ea79be137f3cb30949bf82198e96e094f2650d.
...
Backport of 21768a99f47ee73a2f93405151550ef7c3d9c8a2 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 bfb746f983aa741afa3709794e70f1e0ab6040b5.
Backport of 94ea79be137f3cb30949bf82198e96e094f2650d 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 4ed534758cb6a11df9f49baddecca5a6cdda9311.
Backport of 20799cc0a6d98816b9ef0577e24691bd26b80d7d 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 60626162f76f26d32a38d18151700cb041201fb3 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 0aeb802cf054cb369646c871b53c93a83c1fa58a 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 8a5683b6b2aede38edcff070686ed1fce470dec5 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 804f2b70244d435c63f7f7c6312a829bc41b2ca4 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 b33bfc383935cd26e19a2cf71d066ac6edd1425f.
Backport of ad827ddaef05069a1385cc2d26fd2ab9c6ba1f4d 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 b2b0711b555fa292751763c2df4fe577c396f265 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 99abfe8f4d3caebcd73548f5bf9e4755bdfed318 from master
2020-08-07 21:43:46 +02:00
Adam Alton
1e3d8bd3a1
[3.1.x] Removed unnecessary sentence in QuerySet docs.
...
Backport of 6e9c5ee88fc948e05b4a7d9f82a8861ed2b0343d 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 cdead4f013bc4d8f87fd714e91d5e1fcf419180f from master
2020-08-07 07:57:21 +02:00
Phil Jones
20ec568e46
[3.1.x] Added Hypercorn to ASGI deployment guide.
...
Backport of 1bd1264f2eafcef596960535a063c5be9ea5d433 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 2c2f4b37997daf84834547c8abd146cd6e9eac13 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 e70dc506d76083e443a37bac5058151823802e29 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 b0af56f639179ac5a70253b07ead8b768c4ef4a9 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 6c1923029748de4a0f443260751a93c1e0ea10fa 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.
3.1
2020-08-04 09:56:19 +02:00
Mariusz Felisiak
34b6622ff9
[3.1.x] Finalized release notes for Django 3.1.
...
Backport of df37c2ec761f0032f508af38ce03dee7f4f3f149 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 d907371ef99a1e4ca6bc1660f57d81f265750984 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 bce4a53670668d6fd1e34685197151c17fd1b378 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 b68b8cb89abb35ff2152175ea540619ec384b1f4 from master
2020-08-03 08:56:15 +02:00
Claude Paroz
08fb75ea64
[3.1.x] Updated translations from Transifex
...
Backport of 1a60838fa688d3c1e245ebe4cfe7038ccd67ae3b 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 1d6fdca557e674b9a789b51caadca8985e588492.
Backport of 7c929fcf7c8913d0bd78a8400eafe866ceed9aa6 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 71c4fb7beb8e3293243140e4bd74e53989196440.
Backport of 1d6fdca557e674b9a789b51caadca8985e588492 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 8703680ebee47bfa9e912a30a0509798500bf42a 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 184a6eebb0ef56d5f1b1315a8e666830e37f3f81 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 eb215da363e6cf0e8f3405db3c4392398c8777cb from master
2020-07-29 12:54:26 +02:00
Claude Paroz
06474e929f
[3.1.x] Refs #30165 -- Removed leftover 'u' prefix.
...
Backport of bac5777bff8e8d8189193438b5af52f158a3f2a4 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 2d8dcba03aae200aaa103ec1e69f0a0038ec2f85 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 ba691933cee375195c9c50f333dd4b2a3abbb726 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 02447fb133b53ec7d0ff068cc08f06fdf8817ef7 from master
2020-07-28 11:54:35 +02:00
Harpreet Sharma
3116444559
[3.1.x] Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.
...
Follow up to 22aab8662f0368b63f91f2526bdd0532524bc0fe
Backport of 248d03fbe932b0844c628e56dafba334f9e028e4 from master
2020-07-23 21:00:45 +02:00
LincolnPuzey
bc75442ebf
[3.1.x] Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.
...
Backport of d75436109694c286d9af48ae94ca39759d080214 from master
2020-07-23 13:13:17 +02:00
Ramiro Morales
26113b9de1
[3.1.x] Fixed typo in docs/ref/models/querysets.txt.
...
Backport of 51e536178cba9489b9d759f69f72f442af16ba32 from master
2020-07-22 23:37:14 +02:00
Buk Bukowski
2521664041
[3.1.x] Fixed #31814 -- Fixed typo in docs/ref/settings.txt.
...
Backport of f65454801bfa13fc043fee0aca8f49af41380683 from master
2020-07-22 22:39:27 +02:00
Adam Johnson
2b3ca7a5f1
[3.1.x] Doc'd Model.MultipleObjectsReturned docs and improved documentation related with models exceptions.
...
Backport of bc4fea92b296a7eacbd5f89263ca67515feeb53f from master
2020-07-22 20:21:06 +02:00
Adam Johnson
77abe98816
[3.1.x] Refs #24763 -- Moved DoesNotExist to Model class docs.
...
Backport of b5f0efa19c82d274082bcde8a8acae5038667614 from master
2020-07-22 20:20:57 +02:00
Mariusz Felisiak
2ff2084cfd
[3.1.x] Fixed #31805 -- Fixed SchemaTests.tearDown() when table names are case-insensitive.
...
Backport of fd53db842c35c994dbd54196dd38a908f3676b1a from master
2020-07-22 12:51:03 +02:00
Mariusz Felisiak
7a3fa3af68
[3.1.x] Fixed #31797 -- Skipped schema tests on specific MariaDB versions.
...
test_alter_not_unique_field_to_primary_key() test is affected by
https://jira.mariadb.org/browse/MDEV-19598 on MariaDB 10.4.4 to 10.5.1.
test_alter_pk_with_self_referential_field() test is affected by
https://jira.mariadb.org/browse/MDEV-22775 on MariaDB 10.4 series
from 10.4.13.
Backport of c071c408d72330b422c124a6bdd85a68acae9566 from master
2020-07-22 10:58:14 +02:00
Tim Graham
d004bcee0c
[3.1.x] Reverted "Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file."
...
This reverts commit 3cd3bebe8921e14b911b36b2a1cbceef8fb6294e.
Backport of ff55adbd0da6618abaf265d16196bf54f81aa77a from master
2020-07-22 07:04:52 +02:00
David Chorpash
5360f002f8
[3.1.x] Refs #31720 -- Added examples to BoolAnd() and BoolOr() documentation.
...
Backport of a2e621b14e85836362b7fc0e6b1bf7d7ff98e42b from master
2020-07-21 07:02:18 +02:00
Adam Johnson
f91ba43ebf
[3.1.x] Improved description of USE_THOUSAND_SEPARATOR setting.
...
Backport of 80f92177eb2a175579f4a6907ef5a358863bddca from master
2020-07-20 12:55:44 +02:00
Tom Forbes
b830cc02ed
[3.1.x] Used temporary directory in RestartWithReloaderTests.test_manage_py().
...
Using the current directory can cause a PermissionError.
Backport of 730711e8282893723f993f55d3e3b0c823cfdb9a from master
2020-07-20 09:41:28 +02:00
Mariusz Felisiak
c7e95dea80
[3.1.x] Bumped version for 3.1 release candidate 1.
3.1rc1
2020-07-20 08:19:51 +02:00
Florian Apolloner
bfe404deb9
[3.1.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, 3.7.8+, and 3.8.4+.
...
Fixed sending emails crash on email addresses with display names longer
then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.
Wrapped display names were passed to email.headerregistry.Address()
what caused raising an exception because address parts cannot contain
CR or LF.
See https://bugs.python.org/issue39073
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master
2020-07-20 07:15:04 +02:00