Jacob Walls
28c95a35fb
[6.0.x] Fixed #36648 , Refs #33772 -- Accounted for composite pks in first()/last() when aggregating.
...
Backport of 02eed4f378
from main.
2025-10-14 15:49:48 -04:00
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 cc9df52666
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 1910115807
from main.
2025-10-14 08:42:30 -04:00
lyova24
50d31aeb49
[6.0.x] Cautioned against multi-level relative imports in coding style docs.
...
Backport of a545eb0c1a
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 d5543a23d3
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 92d0c21e69
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 5b51e6f759
from main.
2025-10-13 14:54:20 -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 315dbe675d
from main
2025-10-11 19:03:06 +02:00
Mariusz Felisiak
5cc84a35b8
[6.0.x] Corrected admin check IDs in docs.
...
Backport of 1167cd1d63
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 608d3ebc88
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 96a7a65216
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 4a8ca8bd69
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 2514857e3f
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 0a09c60e97
from main.
2025-10-03 11:26:37 -04:00
Mariusz Felisiak
00d5be8a8d
[6.0.x] Rewrapped security archive at 79 chars.
...
Backport of 1499c95d99
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 43d84aef04
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 1324d9037e
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 05413afa8c
.
Backport of 924a0c092e
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 93cae5cb2f
.
Backport of 41b43c74bd
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 6c82b0bc91
from main.
2025-09-30 16:33:44 -04: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 afe6634146
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 daba609a9b
from main.
2025-09-29 08:59:15 +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 00174507f8
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 f2e0219867
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 2e870c6071
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 44addbf4e7
from main
2025-09-24 09:48:14 +02:00
Jacob Walls
fd94c90526
[6.0.x] Refs #25508 -- Used QuerySet.__repr__ in docs/ref/contrib/postgres/search.txt.
...
Backport of efb96138b4
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 9af8225117
from main
2025-09-23 09:14:27 +02:00
Natalia
115f05be75
[6.0.x] Clarified feature freeze and alpha release steps in docs/internals/howto-release-django.txt.
...
Backport of 5ddb01c760
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 762d3be8c5
from main.
2025-09-18 15:45:35 +02:00
Natalia
6d6381c46c
[6.0.x] Updated translations from Transifex.
...
Forwardport of 2a2936c3e6
from stable/5.2.x.
Backport of 4840ab0965
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 f8d2610d94
from main
2025-09-17 22:24:37 +02: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
Jacob Walls
b931156c20
Refs #35859 -- Removed support for Task enqueuing on transaction commit.
...
This removes the ability to configure Task enqueueing via a setting,
since the proposed `ENQUEUE_ON_COMMIT` did not support multi-database
setups.
Thanks to Simon Charette for the report.
Follow-up to 4289966d1b
.
2025-09-17 13:28:58 -03:00
Jacob Walls
9334499f53
Refs #35859 -- Included Task backends in system checks docs.
2025-09-17 13:28:58 -03:00
antoliny0919
1e7728888d
Fixed #36601 -- Fixed color contrast of FilteredSelectMultiple widget chosen labels in TabularInlines.
...
Regression in a0f50c2a48
.
2025-09-17 09:56:01 +02:00
Jake Howard
4289966d1b
Fixed #35859 -- Added background Tasks framework interface.
...
This work implements what was defined in DEP 14
(https://github.com/django/deps/blob/main/accepted/0014-background-workers.rst ).
Thanks to Raphael Gaschignard, Eric Holscher, Ran Benita, Sarah Boyce,
Jacob Walls, and Natalia Bidart for the reviews.
2025-09-16 17:28:32 -03:00
GappleBee
218f69f05e
Fixed #28041 -- Added Lexeme expression to contrib.postgres.search.
...
This expression automatically escapes its input and allows
fine-grained control over prefix matching and term weighting
via logical combinations.
Thanks Mariusz Felisiak, Adam Zapletal, Paolo Melchiorre,
Jacob Walls, Adam Johnson, and Simon Charette for reviews.
Co-authored-by: joetsoi <joetsoi@users.noreply.github.com >
Co-authored-by: Karl Hobley <karl@kaed.uk >
Co-authored-by: Alexandr Tatarinov <tatarinov1997@gmail.com >
2025-09-16 15:09:11 -04:00
blingblin-g
e08fa42fa6
Fixed #36426 -- Added support for further iterables in prefetch_related_objects().
...
Thanks Sarah Boyce for the review.
2025-09-16 14:14:23 -04:00
Dani Fornons
014be2f0da
Fixed #36591 -- Removed unnecessary dotted paths in email docs.
2025-09-15 11:46:35 +02:00
Simon Charette
94680437a4
Fixed #27222 -- Refreshed model field values assigned expressions on save().
...
Removed the can_return_columns_from_insert skip gates on existing
field_defaults tests to confirm the expected number of queries are
performed and that returning field overrides are respected.
2025-09-14 00:27:50 +02:00
Simon Charette
55a0073b3b
Refs #27222 -- Refreshed GeneratedFields values on save() initiated update.
...
This required implementing UPDATE RETURNING machinery that heavily
borrows from the INSERT one.
2025-09-14 00:27:49 +02:00
Jacob Walls
c48904a225
Fixed typo in docs/ref/contrib/contenttypes.txt.
2025-09-13 11:24:43 -04:00
Clifford Gama
9932866e3a
Refs #35667 -- Corrected usage of skip_file_prefixes in contributing docs.
2025-09-13 08:20:17 -04:00
Mridul Dhall
e183d6c26c
Fixed #36597 -- Corrected directives for functions from email module in docs.
...
Thanks Mike Edmunds for the report.
2025-09-12 18:51:52 +02:00
nessita
8956ee3ce3
Refs #35667 -- Updated contributing guide to use django_file_prefixes on deprecations.
2025-09-12 11:15:13 -05:00
Salman
46fdeb1373
Fixed #36486 -- Added MongoDB to list of third-party DB backends.
2025-09-09 08:23:41 +02:00