Jacob Walls
714d59d57f
[4.2.x] Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.
...
Backport of 4403432b759124aa613249373e0d2ede64ae8765 from main
2023-02-07 12:24:24 +01:00
Carlton Gibson
600b88db4c
[4.2.x] Added stub release notes for 4.0.10 and 3.2.18.
...
Set date for 4.1.7 release.
Backport of 7e003428f96d616c1f77fed84882a95e63bc3644 from main
2023-02-07 10:10:22 +01:00
Marcelo Galigniana
9306a8d18f
[4.2.x] Fixed #34310 -- Added deletion example to one-to-one topic.
...
Backport of 7c6195ef81075b03a704431b5d08ec597e8573f7 from main
2023-02-07 08:05:17 +01:00
Frederic Mheir
d70b2a88e8
[4.2.x] Fixed #34301 -- Made admin's submit_row check add permission for "Save as new" button.
...
Backport of 2878938626aed211d03db33a9a135c9b1d933069 from main
2023-02-07 07:31:51 +01:00
Dan Glass
edbc9d11ff
[4.2.x] Made PostgreSQL's SchemaEditor._create_index_sql() respect the "sql" argument.
...
Backport of bd366ca2aeffa869b7dbc0b0aa01caea75e6dc31 from main
2023-02-06 14:13:09 +01:00
Mariusz Felisiak
9a1848f48c
[4.2.x] Increased the default PBKDF2 iterations for Django 4.2.
...
See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2 .
Thanks Markus Holtermann for the report.
2023-02-04 13:36:06 +01:00
Adam Johnson
beaa5f31e1
[4.2.x] Fixed #34259 -- Passed called_from_command_line to command subparsers.
...
Backport of 017fa23d3b0aee9142f531c2a0002fc86c82a54c from main
2023-02-03 07:54:15 +01:00
skidipap
db0e10c037
[4.2.x] Fixed #34286 -- Fixed admindocs markups for case-sensitive template/view names.
...
Backport of 1250483ebf73f7a82ff820b94092c63ce4238264 from main
2023-02-02 14:48:10 +01:00
Mariusz Felisiak
0b6797eedd
[4.2.x] Improved error message for ASCIIUsernameValidator.
...
Follow up to 10bb21e71e3668f770493e2af0d0e0271830f7a3.
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
Backport of c626173833784c86920b448793ac45005af4c058 from main
2023-02-02 10:08:02 +01:00
Mariusz Felisiak
ba7d8ac37d
[4.2.x] Added stub release notes for 4.1.7.
...
Backport of f3c89744cc801cc7d134bca9958c4a74aa76380f from main
2023-02-01 13:22:00 +01:00
Mariusz Felisiak
379b37171b
[4.2.x] Added CVE-2023-23969 to security archive.
...
Backport of 36e3eef7d5a4c88671d20a561788679d0d9c334c from main
2023-02-01 12:10:03 +01:00
Mariusz Felisiak
d6d30b9697
[4.2.x] Ignored 80aae8343939e849100db87b1c9615f32b38ea0b formatting changes in git blame.
2023-02-01 11:37:53 +01:00
David Smith
80aae83439
[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.
...
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0
Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main
2023-02-01 11:37:29 +01:00
Nick Pope
8a7b22d4a6
[4.2.x] Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language.
...
The parsed values of Accept-Language headers are cached in order to
avoid repetitive parsing. This leads to a potential denial-of-service
vector via excessive memory usage if the raw value of Accept-Language
headers is very large.
Accept-Language headers are now limited to a maximum length in order
to avoid this issue.
2023-02-01 09:45:07 +01:00
sage
5e0be0873c
[4.2.x] Fixed #34304 -- Made MySQL's SchemaEditor.remove_constraint() don't create foreign key index when unique constraint is ignored.
...
Regression in b731e8841558ee4caaba766c83f34ea9c7004f8b.
Backport of 110b3b83567da22f19ec04210db134d0fe83d662 from main
2023-01-31 11:52:44 +01:00
Durval Carvalho
af396ce3f9
[4.2.x] Fixed #34180 -- Added note about resetting language in test tear-downs.
...
Co-authored-by: Faris Naimi <farisfaris66@gmail.com>
Backport of 40217d1a82b0c16cddba377325d12b2c253f402a from main
2023-01-31 07:29:21 +01:00
Stanislav Volyk
7217c11eba
[4.2.x] Fixed #34283 -- Escaped title in admin's changelist filters.
...
Regression in 27aa7035f57f0db30b6632e4274e18b430906799.
Backport of 20a0850099340fb4cb8df0e4441e5019b2cbd1ea from main
2023-01-30 11:58:06 +01:00
fschwebel
5159e05e40
[4.2.x] Fixed typo in docs/topics/auth/passwords.txt.
...
Wrapped hashing is only possible if the inner wrapped function is the
same as the previous hasher.
Backport of 0265b1b49ba10f957abfd1311d0bae0ecefc3111 from main
2023-01-30 08:32:13 +01:00
Sarah Boyce
4bf3d6dec2
[4.2.x] Fixed #28054 -- Made runserver not return response body for HEAD requests.
...
Co-authored-by: jannschu <jannik.schuerg@posteo.de>
Backport of 8acc433e415cd771f69dfe84e57878a83641e78b from main
2023-01-27 21:50:40 +01:00
Mariusz Felisiak
d42e47f572
[4.2.x] Refs #34255 -- Skipped test_group_by_nested_expression_with_params test on PostgreSQL when server-side binding cursors are used.
...
Thanks Tim Graham for the review.
Backport of 82dad11bfe45f96f15e2330f58f62919cab9f14c from main
2023-01-27 21:29:47 +01:00
Raj Desai
f210ad1b98
[4.2.x] Fixed #34254 -- Fixed return value of Exists() with empty queryset.
...
Thanks Simon Charette for reviews.
Backport of 246eb4836a6fb967880f838aa0d22ecfdca8b6f1 from main
2023-01-26 20:25:18 +01:00
Simon Sawicki
9eae81724d
[4.2.x] Fixed #34294 -- Protected django.core.files.locks against argtypes redefinition on Windows.
...
Backport of 7eb5391b71f473dd13abdaaef143a5509160487f from main
2023-01-26 19:40:57 +01:00
Mariusz Felisiak
719a14badc
[4.2.x] Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint with ordered expressions.
...
Thanks Dan F for the report.
Bug in 667105877e6723c6985399803a364848891513cc.
Backport of 2b1242abb3989f5d74e787b09132d01bcbee5b55 from main
2023-01-26 09:32:14 +01:00
Carlton Gibson
d43fbdf6f1
[4.2.x] Adjusted release notes for 4.1.6, 4.0.9, and 3.2.17.
...
Backport of d8e1442ce2c56282785dd806e5c1147975e8c857 from main
2023-01-25 12:26:40 +01:00
Carlton Gibson
50432e3fd5
[4.2.x] Set date and added stub release notes for 4.1.6, 4.0.9, and 3.2.17.
...
Backport of 1df963ad2476726d63be132c0cee47e07b8250d7 from main
2023-01-25 11:58:35 +01:00
Stephen
d9d9534466
[4.2.x] Corrected passenv value for tox 4.0.6+.
...
Backport of 34b328814976a2e2f7907361a494202763649f3f from main
2023-01-25 06:10:35 +01:00
朱穆穆
f23a85337a
[4.2.x] Fixed #34227 -- Fixed QuerySet.select_related() with multi-level FilteredRelation.
...
Backport of d3c93cdc597e0efc2815111c04dd5a427432ed37 from main
2023-01-24 10:52:01 +01:00
Matt Westcott
b332a96cd7
[4.2.x] Fixed #34192 -- Preserved callable storage when it returns default_storage.
...
Backport of ef85b6bf0bc5a8b194f0724cf5bbedbcee402b96 from main
2023-01-23 11:14:57 +01:00
Claude Paroz
0fd5d16c22
[4.2.x] Fixed #34278 -- Made translatable string plural-aware in SelectFilter2.js.
...
Bug in be63c78760924e1335603c36babd0ad6cfaea3c4.
Backport of e3a4cee081cf60650b8824f0646383b79cb110e7 from main
2023-01-23 06:38:49 +01:00
noFFENSE
fa52bb7774
[4.2.x] Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.
...
Backport of 5cd1385356d4b275133ddb0f8c78b2f37c5901eb from main
2023-01-20 10:57:30 +01:00
Francesco Panico
84927e110e
[4.2.x] Fixed #34267 -- Fixed sliced QuerySet.union() crash.
...
Regression in 3d734c09ff0138441dfe0a59010435871d17950f.
Thanks Raphaël Stefanini for the report.
Backport of cc8aa6bf9c127a493e6dd005012b9e6397b3f319 from main
2023-01-20 09:25:26 +01:00
David Wobrock
3b6f307344
[4.2.x] Fixed #34272 -- Fixed floatformat crash on zero with trailing zeros to zero decimal places.
...
Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124.
Thanks Andrii Lahuta for the report.
Backport of 4b066bde692078b194709d517b27e55defae787c from main
2023-01-19 10:47:52 +01:00
John Whitlock
a3771c8229
[4.2.x] Fixed typo in docs/releases/4.2.txt.
...
Backport of d54717118360e8679aa2bd0c5a1625f3e84712ba from main
2023-01-17 19:28:19 +01:00
Mariusz Felisiak
1452e7cb7f
[4.2.x] Doc'd that 4.2 is LTS.
...
Backport of 2785e121c7eb941202565343d3880da6ba5aa21d from main
2023-01-17 19:25:44 +01:00
Mariusz Felisiak
2cbb3c9135
[4.2.x] Removed remaining empty sections from 4.2 release notes.
...
Follow up to 772cd2b15b158679b9dc15fb599aa935ec7c25b1.
Backport of a209f6625936cff2c714e99735782663dc95218f from main
2023-01-17 14:05:51 +01:00
Sébastien Corbin
57680658f3
[4.2.x] Fixed #34264 -- Moved release note about session cookies into error reporting section.
...
Backport of e2964fed1761981ff7e5c60762e954f307cf7969 from main
2023-01-17 13:09:47 +01:00
Mariusz Felisiak
1a504d9ce7
[4.2.x] Bumped version for 4.2 alpha 1 release.
4.2a1
2023-01-17 10:20:09 +01:00
Mariusz Felisiak
6fef789e45
[4.2.x] Updated source translation catalogs.
2023-01-17 10:09:42 +01:00
Mariusz Felisiak
81818cc555
[4.2.x] Bumped django_next_version in docs config.
2023-01-17 08:54:30 +01:00
Mariusz Felisiak
9409312eef
Updated man page for Django 4.2 alpha.
2023-01-17 08:51:17 +01:00
Mariusz Felisiak
e734cccea0
Made cosmetic edits to docs/releases/4.2.txt.
2023-01-17 08:51:17 +01:00
Mariusz Felisiak
772cd2b15b
Removed empty sections from 4.2 release notes.
2023-01-17 08:51:17 +01:00
Mariusz Felisiak
0e2649fdf4
Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding with psycopg version 3.
...
Thanks Guillaume Andreu Sabater for the report.
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
2023-01-17 08:24:08 +01:00
Mariusz Felisiak
c8a76059ff
Refs #34255 -- Bumped required psycopg version to 3.1.8.
2023-01-17 08:24:08 +01:00
sarahboyce
0fbdb9784d
Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
...
Co-authored-by: Christian Bundy <me@christianbundy.com>
2023-01-16 09:31:34 +01:00
sarahboyce
05bcd5baaf
Refs #30129 -- Added test for create() with F() expression in Subquery.
...
Fixed in 35431298226165986ad07e91f9d3aca721ff38ec.
2023-01-16 08:26:34 +01:00
Steven
4b7016866a
Fixed "nulls characters" typo in docs.
2023-01-16 07:54:00 +01:00
Leo
5da5f3773e
Fixed #34234 -- Dropped support for PROJ 4.
2023-01-13 12:31:41 +01:00
Mariusz Felisiak
c2118d72d6
Fixed #34240 -- Preserved headers of requests made with django.test.Client in assertRedirects().
...
Bug in 67da22f08e05018ea968fcacbac9ac37ea925d85.
2023-01-13 11:30:27 +01:00
Mariusz Felisiak
648005dee6
Refs #18468 -- Used obj_description() with a catalog name on PostgreSQL.
...
obj_description(object oid) without a catalog name is deprecated since
there is no guarantee that OIDs are unique across different system
catalogs.
Thanks Tim Graham for the report.
2023-01-12 13:23:47 +01:00