Natalia
80b9c8f529
[5.2.x] Fixed #36526 -- Doc'd QuerySet.bulk_update() memory usage when batching.
...
Thanks Simon Charette for the review.
Backport of 608d3ebc8889863d43be1090d634b9507fe4a85e from main.
2025-10-08 18:33:02 -03:00
Michiel W. Beijen
c05c5b80a6
[5.2.x] Fixed #35961 -- Migrated license metadata in pyproject.toml to conform PEP 639.
...
See https://peps.python.org/pep-0639/ and
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files .
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Backport of 96a7a652166bece8acc96d6335ebb8091de2f496 from main.
2025-10-08 16:42:36 -03:00
Mariusz Felisiak
084cbe1217
[5.2.x] Added missing backticks in docs/ref/models/fields.txt.
...
Backport of 4a8ca8bd6906b705c4445bc915d71beda2fc4b84 from main
2025-10-08 11:01:02 +02:00
Dani Fornons
2d2e1a6a9d
[5.2.x] Fixed #36636 , Refs #15902 -- Removed session-based storage reference from set_language() docs.
...
Backport of 2514857e3fae831106832cca8823237801cf2cad from main.
2025-10-03 15:18:00 -04:00
Jacob Walls
41bcb54bff
[5.2.x] Refs #36143 , #28596 -- Avoided mentioning exact query parameter limit in bulk_create() docs.
...
Backport of 0a09c60e97166e0188717ff340b4d93b72207e96 from main.
2025-10-03 11:27:05 -04:00
Mariusz Felisiak
2fc538af33
[5.2.x] Rewrapped security archive at 79 chars.
...
Backport of 1499c95d990fb776c39ad60e43228cbbbfcad3a8 from main.
2025-10-01 16:25:11 -04:00
Jacob Walls
071afc3d01
[5.2.x] Added CVE-2025-59681 and CVE-2025-59682 to security archive.
...
Backport of 43d84aef04a9e71164c21a74885996981857e66e from main.
2025-10-01 10:39:44 -04:00
Jacob Walls
f94449ef69
[5.2.x] Added stub release notes for 5.2.8.
...
Backport of 1324d9037e9281ec0fdd88c15b20881c7a6ea8b9 from main.
2025-10-01 10:34:11 -04:00
Jacob Walls
afb8ad2992
[5.2.x] Post-release version bump.
2025-10-01 08:52:19 -04:00
Jacob Walls
3cff3209e3
[5.2.x] Bumped version for 5.2.7 release.
5.2.7
2025-10-01 08:26:54 -04:00
Sarah Boyce
ed8fc39d77
[5.2.x] Fixed CVE-2025-59682 -- Fixed potential partial directory-traversal via archive.extract().
...
Thanks stackered for the report.
Follow up to 05413afa8c18cdb978fcdf470e09f7a12b234a23.
Backport of 924a0c092e65fa2d0953fd1855d2dc8786d94de2 from main.
2025-10-01 08:25:20 -04:00
Mariusz Felisiak
52fbae0a4d
[5.2.x] Fixed CVE-2025-59681 -- Protected QuerySet.annotate(), alias(), aggregate(), and extra() against SQL injection in column aliases on MySQL/MariaDB.
...
Thanks sw0rd1ight for the report.
Follow up to 93cae5cb2f9a4ef1514cf1a41f714fef08005200.
Backport of 41b43c74bda19753c757036673ea9db74acf494a from main.
2025-10-01 08:24:18 -04:00
Jacob Walls
1794cbf961
[5.2.x] Made cosmetic edits to 5.2.7 release notes.
...
Backport of 6c82b0bc91fc650891b0b411ac4a5a86cf0cf3e8 from main.
2025-09-30 16:34:43 -04:00
okaybro
81625a141e
[5.2.x] Fixed #36587 -- Clarified usage of list.insert()
for upload handlers.
...
Thanks Baptiste Mispelon for the report
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Backport of afe6634146d0fe70498976c49d2eb4d745aa9064 from main.
2025-09-29 14:51:44 +02:00
Samriddha9619
6f3813e4b6
[5.2.x] Fixed #35877 , Refs #36128 -- Documented unique constraint when migrating a m2m field to use a through model.
...
Backport of daba609a9bdc7a97bcf327c7ba0a5f7b3540b46e from main.
2025-09-29 09:00:19 +02:00
Mariusz Felisiak
10a2d3b837
[5.2.x] Added stub release notes and release date for 5.2.7, 5.1.13, and 4.2.25.
...
Backport of 00174507f8a91e9577ae233c58af561b379f2695 from main.
2025-09-24 11:41:04 -04:00
Jacob Walls
b2773a39a3
[5.2.x] Refs #25508 -- Used QuerySet.__repr__ in docs/ref/contrib/postgres/search.txt.
...
Backport of efb96138b4af774c22ae6e949410b45d69960357 from main.
2025-09-23 10:09:18 -04:00
CodingWithSaksham
7554c54e5f
[5.2.x] Fixed #36581 -- Updated serialization examples from XML to JSON.
...
Backport of 762d3be8c559b0abf415be8d6117f04fb6347983 from main.
2025-09-18 15:47:20 +02:00
Natalia
2a2936c3e6
[5.2.x] Updated translations from Transifex.
2025-09-18 09:50:46 -03:00
David Smith
5484d1f2b0
[5.2.x] Fixed OGRInspectTest.test_time_field with memory Spatialite database.
...
Backport of 82b3b84a78055844ee07d5d97843a4fc72872e28 from main.
2025-09-18 09:35:32 -03:00
antoliny0919
d8e9dec1ad
[5.2.x] Fixed #36601 -- Fixed color contrast of FilteredSelectMultiple widget chosen labels in TabularInlines.
...
Regression in a0f50c2a483678d31bd1ad6f08fd3a0b8399e27b.
Backport of 1e7728888dbbff437ad9847c82b84feb81f785df from main.
2025-09-17 10:01:37 +02:00
Jacob Walls
1dbf415a18
[5.2.x] Fixed typo in docs/ref/contrib/contenttypes.txt.
...
Backport of c48904a225e2e8f02274257247d5b7d29c5fe183 from main.
2025-09-13 11:29:40 -04:00
Mridul Dhall
b8df1eb7c2
[5.2.x] Fixed #36597 -- Corrected directives for functions from email module in docs.
...
Thanks Mike Edmunds for the report.
Backport of e183d6c26c8da4486c151f9ce973828e2404a796 from main.
2025-09-12 18:59:58 +02:00
Salman
adc80dd81e
[5.2.x] Fixed #36486 -- Added MongoDB to list of third-party DB backends.
...
Backport of 46fdeb1373aa7e9089d14440987444493cc9c2e0 from main
2025-09-09 08:24:11 +02:00
Jake Howard
fbced43cf8
[5.2.x] Refs #36588 -- Warned about using external templates in startapp/startproject commands.
...
Clarified that custom templates provided via `--template` for `starapp`
and `startproject` are used as-is, adding a warning that malicious or
poorly constructed templates may introduce security issues.
Backport of 4e7a991c12a113229e0927974d3bf94ea04eecf6 from main.
2025-09-04 13:38:31 -03:00
Mariusz Felisiak
e2d83a2076
[5.2.x] Added missing backticks in docs/releases/security.txt.
...
Backport of 686a8a62ae7faba9c3b17080c3532b821e8cb1f3 from main
2025-09-04 11:10:33 +02:00
Sarah Boyce
18c6bc5db2
[5.2.x] Added CVE-2025-57833 to security archive.
...
Backport of f0c05a40d27d69ef3a7b4e5e0199b5dba5b11feb from main.
2025-09-03 15:28:27 +02:00
Sarah Boyce
db13f7fbcb
[5.2.x] Added stub release notes for 5.2.7.
...
Backport of ab7c7dd99b3ddc489d9f007b273d891973212aa3 from main.
2025-09-03 15:22:02 +02:00
Sarah Boyce
90a9ba1aec
[5.2.x] Post-release version bump.
2025-09-03 13:29:20 +02:00
Sarah Boyce
75c4403f07
[5.2.x] Bumped version for 5.2.6 release.
5.2.6
2025-09-03 13:17:48 +02:00
Jake Howard
4c044fcc86
[5.2.x] Fixed CVE-2025-57833 -- Protected FilteredRelation against SQL injection in column aliases.
...
Thanks Eyal Gabay (EyalSec) for the report.
Backport of 51711717098d3f469f795dfa6bc3758b24f69ef7 from main.
2025-09-03 13:15:55 +02:00
Sarah Boyce
e87ca3d6fa
[5.2.x] Made cosmetic edits to 5.2.6 release notes.
...
Backport of d044e25dc2106b94ebdedf0bfde9238be1a3765c from main.
2025-09-03 12:19:46 +02:00
Clifford Gama
ebec2c9323
[5.2.x] Removed unused import in docs/ref/models/expressions.txt example.
...
Backport of 21603c5b50cda80610496248810bb6391f08b648 from main
2025-08-31 08:16:09 +02:00
SaJH
ace59cb83b
[5.2.x] Fixed #36431 -- Returned tuples for multi-column ForeignObject in values()/values_list().
...
Thanks Jacob Walls and Simon Charette for tests.
Signed-off-by: SaJH <wogur981208@gmail.com>
Backport of bb7a7701b1a0e8fffe14dcebf5d5bac7f176c02a from main
2025-08-29 15:36:09 -04:00
Mustafa Pirbhai
16a12a9799
[5.2.x] Fixed #35831 -- Documented the model form meta API in model form reference docs.
...
Co-authored-by: Jonathan <3218047+jernwerber@users.noreply.github.com>
Co-authored-by: Mustafa <117516335+mspirbhai@users.noreply.github.com>
Backport of 183fcebf88aa0762a2e28477f9b24c34341a75f4 from main.
2025-08-29 09:00:37 +02:00
Sarah Boyce
51753bc809
[5.2.x] Added stub release notes and release date for 5.2.6, 5.1.12, and 4.2.24.
...
Backport of 4c71e334401a3e83c013419d0e2211543e7e873b from main.
2025-08-27 16:07:46 +02:00
Jacob Walls
a486455125
[5.2.x] Corrected definition of "needsinfo" triage stage in contributing guide.
...
Backport of 66082a7dac7ad357446168d09e6ca3b305f1faf0 from main
2025-08-27 09:22:26 -04:00
Jacob Walls
f8e572e843
[5.2.x] Removed reference to flake8 file exclusions.
...
Obsolete since 41384812efe209c8295a50d78b45e0ffb2992436.
(six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.)
Backport of 165ad74c578f94f962624a40dff14e1b2e23a1f8 from main
2025-08-23 20:06:54 +02:00
Mariusz Felisiak
9c9ed6fd7a
[5.2.x] Refs #35530 -- Corrected deprecation message in auth.alogin().
...
Follow up to ceecd518b19044181a3598c55ebed7c2545963cc.
Backport of b3166e1e15824aedb7a609dfda18ef36ea023d06 from main.
2025-08-22 16:15:42 +02:00
Mariusz Felisiak
98972b53aa
[5.2.x] Corrected release notes of calling format_html() without arguments.
...
Backport of bcddf641ae705209c01a4b18a9384aa91fdc94e1 from main
2025-08-20 07:35:30 +02:00
mengxun
38844c348b
[5.2.x] Fixed spelling of "logged-in" when used as an adjective in docs.
...
Backport of f5c944b3141c58bb4a5c7bbca61180b2ad7c13aa from main.
2025-08-19 12:43:52 -03:00
Natalia
9a720d5c50
[5.2.x] Fixed #36499 -- Adjusted utils_tests.test_html.TestUtilsHtml.test_strip_tags following Python's HTMLParser new behavior.
...
Python fixed a quadratic complexity processing for HTMLParser in:
https://github.com/python/cpython/commit/6eb6c5db .
Backport of 2980627502c84a9fd09272e1349dc574a2ff1fb1 from main.
2025-08-13 17:48:37 -03:00
Natalia
74fafe2715
[5.2.x] Fixed test_utils.tests.HTMLEqualTests.test_parsing_errors following Python's HTMLParser fixed parsing.
...
Further details about Python changes can be found in:
0243f97cba
.
Refs #36499 . Thank you Clifford Gama for the thorough review!
Backport of e4515dad7a6d953c0bd2414127ba36e1446ff41a from main.
2025-08-13 17:48:37 -03:00
Jacob Walls
a4e27c0c6b
[5.2.x] Refs #34378 , #36143 , #36416 -- Fixed isolation of LookupTests.test_in_bulk_preserve_ordering_with_batch_size().
...
`max_query_params` is a property, so it must be patched on the class.
Backport of a68e8565cdd4fc3f8b738fc516095dab142b9d65 from main.
2025-08-13 15:30:34 -03:00
David Sanders
4926591343
[5.2.x] Aligned format of constraint examples in docs/ref/models/constraints.txt.
...
Backport of fda3c1712a1eb7b20dfc91e6c9abae32bd64d081 from main.
2025-08-13 09:16:06 +02:00
Rohit
1d9f6c3270
[5.2.x] Corrected code examples in topics docs.
...
Backport of fa804d0d14ef4547b4fe2a88ab5d89d4eed5bacd from main.
2025-08-11 10:14:43 +02:00
Sarah Boyce
ad836aa0c5
[5.2.x] Added stub release notes for 5.2.6.
...
Backport of 0bff53b4138d8c6009e9040dbb8916a1271a68d7 from main.
2025-08-06 10:36:46 +02:00
Sarah Boyce
a7546c4773
[5.2.x] Post-release version bump.
2025-08-06 10:35:14 +02:00
Sarah Boyce
a3b1107a49
[5.2.x] Bumped version for 5.2.5 release.
5.2.5
2025-08-06 10:04:41 +02:00
Sarah Boyce
0489f54e8b
[5.2.x] Added release date for 5.2.5.
...
Backport of 8999b0e2bf62ffa1ea19995508712ed8eda2cc14 from main.
2025-08-06 09:59:50 +02:00