1
0
mirror of https://github.com/django/django.git synced 2025-10-23 05:39:10 +00:00

33912 Commits

Author SHA1 Message Date
Jacob Walls
a01d85d941 [6.0.x] Removed pre-release wheel-only advice in docs/internals/howto-release-django.txt.
The practice since 2.2a1 (2019) has been to upload source distributions
as well.
Backport of cc9df52666b90e2e6fdebd2213493c1c396e804a from main.
2025-10-14 08:46:49 -04:00
Jacob Walls
e96e56e064 [6.0.x] Removed mention of setuptools in docs/internals/contributing/writing-code/unit-tests.txt.
Backport of 19101158070429c8d314926a67ec22a88220f316 from main.
2025-10-14 08:42:30 -04:00
Thibaut Decombe
b077982b3e [6.0.x] Refs #31223 -- Added __class_getitem__() to SetPasswordMixin.
Backport of d0c8f89c942d1379724bdd37127076d13452f71d from main.
2025-10-14 08:15:01 -04:00
lyova24
50d31aeb49 [6.0.x] Cautioned against multi-level relative imports in coding style docs.
Backport of a545eb0c1ad5dcbb4e4cf22ce6cf486224c0ba8a from main.
2025-10-13 17:34:14 -04:00
Natalia
12e3aa452a [6.0.x] Added notes about automatic roadmap generation for next version in docs/internals/howto-release-django.txt.
Backport of d5543a23d32d6438edae060081a054f617193341 from main.
2025-10-13 17:41:55 -03:00
arsalan64
7c2ff0ffd7 [6.0.x] Fixed #36625 -- Mentioned exit() in tutorial's instruction to restart the shell.
Backport of 92d0c21e69901cb7b749040670d3e6611353e1fa from main.
2025-10-13 16:22:30 -04:00
Sarah Boyce
0fa339ce71 [6.0.x] Fixed #36611, Refs #36580 -- Added system check for multicolumn ForeignObject in Meta.indexes/constraints/unique_together.
ForeignObjects with multiple `from_fields` are not supported in these
options.

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>

Backport of 5b51e6f759f2ba993219347435149173c756c478 from main.
2025-10-13 14:54:20 -03:00
Simon Charette
86e7406cfb [6.0.x] Fixed #36660 -- Fixed a regression in descending Index local field checks.
Regression in 8638d8bf74c1a58302c97d4436ad2eb08438145b.

Refs #36273.

Thanks Federico Bond for the report.

Backport of edde2891c355103ba455f3fea95cff962e40962c from main.
2025-10-13 10:51:22 -03:00
Simon Charette
c4309f4627 [6.0.x] Fixed #36646 -- Added compatibility for oracledb 3.4.0.
The Database.Binary, Date, and Timestamp attributes were changed from
aliases to bytes, datetime.date, and datetime.datetime to factory
functions in oracle/python-oracledb@869a887819
which made their usage inadequate for isinstance checks.

Thanks John Wagenleitner for the report and Natalia for the triage.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 315dbe675df338ae66c8fa43274a76ecbed7ef67 from main
2025-10-11 19:03:06 +02:00
Mariusz Felisiak
5cc84a35b8 [6.0.x] Corrected admin check IDs in docs.
Backport of 1167cd1d639c3fee69dbdef351d31e8a17d1fedf from main
2025-10-09 20:02:19 +02:00
Natalia
953163e610 [6.0.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:27:56 -03:00
Michiel W. Beijen
d0d2dd7706 [6.0.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:40:43 -03:00
Mariusz Felisiak
934c55f1f9 [6.0.x] Added missing backticks in docs/ref/models/fields.txt.
Backport of 4a8ca8bd6906b705c4445bc915d71beda2fc4b84 from main
2025-10-08 10:59:51 +02:00
Dani Fornons
ec81e68000 [6.0.x] Fixed #36636, Refs #15902 -- Removed session-based storage reference from set_language() docs.
Backport of 2514857e3fae831106832cca8823237801cf2cad from main.
2025-10-03 15:17:27 -04:00
Jacob Walls
2fe18d943f [6.0.x] Refs #36143, #28596 -- Avoided mentioning exact query parameter limit in bulk_create() docs.
Backport of 0a09c60e97166e0188717ff340b4d93b72207e96 from main.
2025-10-03 11:26:37 -04:00
Mariusz Felisiak
851400194d [6.0.x] Refs #36491 -- Skipped ParallelTestSuiteTest.test_buffer_mode_reports_setupclass_failure() without tblib.
Backport of 6cb641ba75b1e6eace9a46e3cbade70e4af2ff66 from main
2025-10-02 13:20:55 +02:00
Mariusz Felisiak
00d5be8a8d [6.0.x] Rewrapped security archive at 79 chars.
Backport of 1499c95d990fb776c39ad60e43228cbbbfcad3a8 from main.
2025-10-01 16:24:50 -04:00
Jacob Walls
c50f980dc2 [6.0.x] Added CVE-2025-59681 and CVE-2025-59682 to security archive.
Backport of 43d84aef04a9e71164c21a74885996981857e66e from main.
2025-10-01 10:39:35 -04:00
Jacob Walls
2d756ab79d [6.0.x] Added stub release notes for 5.2.8.
Backport of 1324d9037e9281ec0fdd88c15b20881c7a6ea8b9 from main.
2025-10-01 10:33:43 -04:00
Sarah Boyce
af067f56c1 [6.0.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:17:44 -04:00
Mariusz Felisiak
4ceaaee7e0 [6.0.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:17:15 -04:00
Jacob Walls
ee0610673b [6.0.x] Made cosmetic edits to 5.2.7 release notes.
Backport of 6c82b0bc91fc650891b0b411ac4a5a86cf0cf3e8 from main.
2025-09-30 16:33:44 -04:00
Mariusz Felisiak
2d502ed39d [6.0.x] Fixed assertIndexExists() crash when non-index constraint exists on the same columns.
Backport of 8b84364d469e394d9f04b4f96a7da1fc16d93fce from main
2025-09-29 23:01:42 +02:00
okaybro
015150999d [6.0.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:50:16 +02:00
Samriddha9619
956455dc8a [6.0.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 08:59:15 +02:00
Shubham Singh
f8e91d0104 [6.0.x] Fixed #36491 -- Fixed crash in ParallelTestRunner with --buffer.
Thanks Javier Buzzi and Adam Johnson for reviews.

Co-authored-by: Simon Charette <charette.s@gmail.com>

Backport of be581ff473e8ade6365975db2df602f295a4cb4b from main.
2025-09-26 10:56:56 -04:00
SaJH
db2f206ee1 [6.0.x] Fixed #36434 -- Preserved unbuffered stdio (-u) in autoreloader child.
Signed-off-by: SaJH <wogur981208@gmail.com>

Backport of 68aae8878ff90dd787db55ecc44ee712525ccdc6 from main.
2025-09-25 11:40:04 +02:00
Mariusz Felisiak
315e7def3c [6.0.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:40:30 -04:00
Adam Johnson
e9caad2e03 [6.0.x] Refs #36163 -- Removed currentmodule directive from 6.0 release notes.
Backport of f2e02198671a4c099744efdc166f98525cbae4c1 from main
2025-09-24 13:06:21 +02:00
Adam Johnson
f39eb730fb [6.0.x] Refs #36163 -- Removed duplicated release note paragraph.
Backport of 2e870c60718888067249f7f2c2e40e8eac3d13bc from main
2025-09-24 13:06:17 +02:00
Mariusz Felisiak
da914cd12e [6.0.x] Refs #35859 -- Mentioned tasks in the docs index.
Backport of 44addbf4e7e0cc4211c4c3418469800cd275c886 from main
2025-09-24 09:48:14 +02:00
Mridul Dhall
b15f8ba071 [6.0.x] Fixed #36543 -- Fixed time formats for fr_CA.
Thanks Chris Anderson for the report.

Backport of b67a36ec6f5895f3fa6147264bae55cb014fa2a7 from main.
2025-09-23 16:53:58 +02:00
saJaeHyukc
e0f328d790 [6.0.x] Fixed #36264 -- Excluded proxy neighbors of parents from deletion collection when keep_parents=True.
Signed-off-by: saJaeHyukc <wogur981208@gmail.com>

Backport of 748551fea0b4e37231203a063356572a47e09efb from main.
2025-09-23 16:45:23 +02:00
Jacob Walls
fd94c90526 [6.0.x] Refs #25508 -- Used QuerySet.__repr__ in docs/ref/contrib/postgres/search.txt.
Backport of efb96138b4af774c22ae6e949410b45d69960357 from main.
2025-09-23 10:08:28 -04:00
Jean Patrick Prenis
5d00bbd41d [6.0.x] Fixed #36609 -- Added Haitian Creole (ht) language.
Thanks Rebecca Conley for the review.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 9af8225117bbc845a41ca27332c0ee1946322b90 from main
2025-09-23 09:14:27 +02:00
Mariusz Felisiak
a68a34210a [6.0.x] Fixed warning in "New contributor" GitHub action.
Backport of 30e9b6f6adfed9ee4c1fa911956881a2361c8946 from main
2025-09-23 08:02:38 +02:00
Ryan P Kilby
9575f813af [6.0.x] Fixed #35453 -- Made ManyToManyField.concrete False.
ManyToManyField was already excluded from fields, concrete_fields,
and local_concrete_fields in Options.

Backport of f9a44cc0fac653f8e0c2ab1cdfb12b2cc5c63fc2 from main
2025-09-22 21:52:21 -04:00
Simon Charette
ffac97bf63 [6.0.x] Fixed #36612 -- Fixed a KeyTextTransform crash on MySQL against annotations.
MySQL only supports the ->> when used directly against columns, this can be
inferred by the presence of lhs.output_field.model as model bounds fields are
directly tied to columns.

Purposely don't systematically switch to using JSON_QUOTE(JSON_EXTRACT(...))
as there might be functional indices out there that rely on the SQL remaining
stable between versions.

Thanks Jacob Tavener for the report.

Backport of af84cfba5970fda8306860b650937701c7c03c6f from main.
2025-09-22 09:02:01 +02:00
Samriddha9619
359c1c6ff9 [6.0.x] Fixed #36488 -- Fixed merging of query strings in RedirectView.
Co-authored-by: Ethan Jucovy <ethan.jucovy@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>

Backport of a36df6890d8995480f2e95ba556b77cef975d4f6 from main.
2025-09-22 08:57:07 +02:00
Sarah Boyce
77ae09916d [6.0.x] Added cleanup of cache clearing to DjangoFilePrefixesTests.setUp().
Backport of 7528979153355faa49c3e49ba3ea233f998a7583 from main.
2025-09-19 10:23:13 +02:00
Natalia
115f05be75 [6.0.x] Clarified feature freeze and alpha release steps in docs/internals/howto-release-django.txt.
Backport of 5ddb01c76038278187d6b892a8bf38e4cc25ac2e from main.
2025-09-18 22:08:35 -03:00
CodingWithSaksham
16bc8de619 [6.0.x] Fixed #36581 -- Updated serialization examples from XML to JSON.
Backport of 762d3be8c559b0abf415be8d6117f04fb6347983 from main.
2025-09-18 15:45:35 +02:00
Natalia
22eed03844 [6.0.x] Updated source translation catalogs. 2025-09-18 10:11:46 -03:00
Natalia
6d6381c46c [6.0.x] Updated translations from Transifex.
Forwardport of 2a2936c3e6444a0f37156773ca405cedaf28dea7 from stable/5.2.x.

Backport of 4840ab09651e4770e24d72895bc701d70d8e4f34 from main.
2025-09-18 09:54:12 -03:00
Mariusz Felisiak
fd6ef87b25 [6.0.x] Added backticks to email addresses in docs.
Backport of f8d2610d94333a8b0fd283851a6cf4ac2e2e2435 from main
2025-09-17 22:24:37 +02:00
Natalia
16ae193550 [6.0.x] Bumped version for 6.0 alpha 1 release. 6.0a1 2025-09-17 15:56:27 -03:00
Natalia
0b5a7d847d [6.0.x] Bumped django_next_version in docs config. 2025-09-17 14:54:41 -03:00
Natalia
154aa62e6f Made cosmetic edits to docs/releases/6.0.txt. 2025-09-17 14:20:40 -03:00
Natalia
eae8cc4201 Removed empty sections from 6.0 release notes. 2025-09-17 14:20:40 -03:00
Natalia
4e1aebffdd Updated man page for Django 6.0 alpha 1. 2025-09-17 14:20:40 -03:00