Commit Graph

34059 Commits

Author SHA1 Message Date
Jacob Walls
09d4bf5cd9 Added GitHub Actions linter (zizmor).
At the direction of the Security Team. Thanks Markus Holtermann,
Jake Howard, and Natalia Bidart for reviews.
2025-11-21 14:36:15 -05:00
Natalia
a523d5c833 Added scripts for building and releasing Django artifacts. 2025-11-21 15:36:25 -03:00
Natalia
971c76f735 Skipped scripts/ folder from built release artifacts. 2025-11-21 15:36:25 -03:00
Jacob Walls
3f15935420 Refs #36705 -- Added coverage for multiple types of enclosing punctuation in urlize().
This case was inadvertently fixed in ad94446fcc.
2025-11-21 12:11:38 -05:00
Mariusz Felisiak
be0620b49f Refs #36031 -- Added tests of DecimalRangeField __contains lookup with unbounded decimal ranges.
Co-authored-by: Aman Sharma <210100011@iitb.ac.in>
2025-11-21 17:55:28 +01:00
Clifford Gama
7e4c4f43f5 Fixed #36718 -- Added JSONField support for negative array indexing on Oracle 21c+. 2025-11-21 11:20:12 +01:00
Jacob Walls
8ce3e1f9d0 Added missing ticket links in docs/releases/5.2.8.txt. 2025-11-20 17:31:31 -05:00
Chris Wesseling
5834643f43 Fixed #36748 -- Filtered non-standard placeholders from UNNEST queries. 2025-11-20 17:22:46 -05:00
Zubair Hassan
ff843bcbce Fixed #36734 -- Clarified the behavior of View.http_method_not_allowed. 2025-11-20 15:52:53 -05:00
kihuni
b1a65eac7c Fixed #36321 -- Defaulted suggest_on_error=True in management commands.
Python 3.15 defaults suggest_on_error=True, but the feature is available
from 3.14, so this change opts in earlier. This change can be reverted
when Python 3.15 is the minimum supported version.
2025-11-20 15:40:07 -05:00
nessita
ee2e0e2028 Ensured that Sitemap.items is described as a method in docs/ref/contrib/sitemaps.txt. 2025-11-20 15:43:21 -03:00
Jacob Walls
d9c94c5983 Fixed typo in docs/howto/deployment/wsgi/apache-auth.txt. 2025-11-20 13:38:35 -05:00
Storm B. Heg
14fb36e0b0 Refs #36663, #36739 -- Added release note for running checks against all databases. 2025-11-20 09:54:45 -05:00
farthestmage
0741987568 Fixed #36737 -- Escaped further control characters in escapejs. 2025-11-20 09:35:59 -05:00
Mariusz Felisiak
97acd4d2f9 Fixed #26609 -- Extended fields.E004 system check for unordered iterables.
Co-authored-by: Karl Wooster <karl.wooster@alleima.com>
2025-11-19 08:22:44 +01:00
varunkasyap
e05f2a7569 Fixed #36733 -- Escaped attributes in Stylesheet.__str__().
Thanks Mustafa Barakat for the report, Baptiste Mispelon for
the triage, and Jake Howard for the review.
2025-11-18 17:15:30 -05:00
Georgi Yanchev
b07298a73a Fixed #36141 -- Checked for applied replaced migrations recursively.
Regression in 64b1ac7292.
2025-11-18 08:10:25 -05:00
Annabelle Wiegart
3c005b5f79 Fixed #26379 -- Doc'd that the first filter() on a many-to-many relation is sticky. 2025-11-17 15:14:42 -05:00
Mariusz Felisiak
1ce6e78dd4 Fixed #24920 -- Added support for DecimalField with no precision.
Thanks Lily for the review.
2025-11-17 13:43:47 +01:00
Kasyap Pentamaraju
5c60763561 Fixed #36723 -- Removed logic for repositioning FilteredSelectMultiple help text. 2025-11-14 09:26:05 -05:00
Mariusz Felisiak
35f86b641a Refs #24928 -- Added introspection support for PostgreSQL HStoreField. 2025-11-14 13:36:15 +01:00
Kasyap Pentamaraju
0eec2a163a Fixed #36724 -- Removed invalid "for" attribute on <legend> tags. 2025-11-13 11:22:44 -05:00
Kasyap Pentamaraju
7e765a6859 Fixed #36686 -- Clarified Meta.ordering is ignored in GROUP BY queries. 2025-11-13 11:18:02 -05:00
Simon Charette
3aba1fced8 Fixed #36663 -- Defaulted to running checks against all databases.
Regression in 0b83c8cc4d which added
support for running checks only against databases but also defaulted to
running against no databases if not specified.

Note that this continues to *not* default to runing database tagged
checks for all management commands except the migrate one as whether or
not we should change this must be discussed further.

Thanks Tim Graham for surfacing how this was a problematic default.
2025-11-13 11:37:58 +01:00
Simon Charette
96ee097bd6 Refs #31055 -- Adjusted passing of Field.check kwargs to ArrayField.base_field.
This was missed when Field.check(databases) was introduced.
2025-11-13 10:28:59 +01:00
Simon Charette
1b539ef27e Refs #31055 -- Augmented regression tests for database system checks.
We might want to change this in the future but it should be further
discussed first.
2025-11-13 10:18:06 +01:00
Adam Johnson
abfa4619fb Fixed #36730 -- Fixed constraint validation crash for excluded FK attnames.
Regression in e44e8327d3.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2025-11-13 09:16:46 +01:00
Benedict Etzel
5401b125ab Fixed #36717 -- Redirect authenticated users on admin login view to next URL.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-11-12 19:42:24 -03:00
Clifford Gama
66b5a6de78 Refs #35381 -- Made JSONNull deconstruct using convenient import path. 2025-11-12 17:14:52 -05:00
Jacob Walls
a1ce852e52 Refs #35844 -- Ran further selenium tests with --parallel=1. 2025-11-11 21:30:00 -05:00
Jacob Walls
c0d7fbe502 Refs #35844 -- Ran selenium tests with --parallel=1. 2025-11-11 18:28:07 -05:00
Jacob Walls
c60a708b58 Refs #35844 -- Checked for forkserver mode when running runtests.py with --selenium and --parallel. 2025-11-11 18:28:07 -05:00
Dani Fornons
6821a7c990 Fixed #36053 -- Fixed placement of FilteredSelectMultiple widget label. 2025-11-11 16:31:16 -05:00
Clifford Gama
2b0f24e622 Fixed typo in docs/ref/databases.txt. 2025-11-10 17:59:38 -03:00
Kasyap Pentamaraju
fffa64abc3 Fixed #36715 -- Handled non-finite Decimals in intcomma filter. 2025-11-10 14:45:48 -05:00
Jacob Walls
e78420c2b8 Refs #36680 -- Avoided manipulating PATH in AdminScriptTestCase.
This mostly reverts 6436ec3210,
which was fragile. Instead, if black is present, we use it to format the
expected and actual results, instead of hard-coding the expected
formatted value.

Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-11-10 14:13:49 -05:00
Markus Holtermann
01c70ba148 Fixed unsafe variable interpolation in GitHub Action workflow.
Thank you Davide Netti for the report and initial patch.

Co-authored-by: Davide Netti <davide.netti4@gmail.com>
2025-11-10 15:46:15 -03:00
Clifford Gama
c135be349d Clarified "get_db_prep_value" default result in docs/ref/models/fields.txt. 2025-11-10 14:11:28 -03:00
Hong Xu
a4f7674134 Clarified EmailValidator docs to specify it validates an email address.
Updated the EmailValidator docs in docs/ref/validators.txt to explicitly
state that it validates an email address, to avoid confusion with
validating email message content.
2025-11-10 12:51:51 -03:00
myoungjinGo
c4e07f94eb Fixed #36420 -- Used actual SQLite limits in last_executed_query() quoting. 2025-11-07 16:41:57 -05:00
Kasyap Pentamaraju
1c7db70e79 Fixed #36705 -- Avoided string concatenation in utils.
Repeated string concatenation performs poorly on PyPy.
Thanks Seokchan Yoon for the report.
2025-11-07 14:06:42 -05:00
Thomas Grainger
2768747526 Fixed #36315 -- Used TaskGroup instead of asyncio.gather(). 2025-11-07 13:17:25 -05:00
Thomas Grainger
2501958b51 Refs #36315 -- Replaced manual task and cancellation handling with TaskGroup in ASGIHandler. 2025-11-07 12:23:31 -05:00
Thomas Grainger
796cf3d325 Refs #36315 -- Used contextlib.closing() in ASGIHandler.handle(). 2025-11-07 12:23:31 -05:00
Tim Schilling
5ef870fbc5 Removed community packages admonition from settings docs. 2025-11-06 15:50:59 -05:00
Tim Schilling
47ac64ed8b Added community package email backends mention to docs.
Co-authored-by: Clifford Gama <cliffygamy@gmail.com>
2025-11-06 15:50:59 -05:00
us77ipis
6d4d99b3ce Fixed #36702 -- Made bulk_create() return pk values set by an expression. 2025-11-06 11:58:01 -05:00
Mehraz Hossain Rumman
125b63ca74 Fixed #36710 -- Fixed a regression in urlize for multipart domain names.
Thanks Mehraz Hossain Rumman for the report and Bruno Alla for the triage.

Regression in a9fe98d5bd.
2025-11-05 17:05:54 -05:00
Harsh Jain
dfcc662cf8 Fixed #36709 -- Included static methods in system check for UserModel.is_anonymous/is_authenticated methods. 2025-11-05 16:56:15 -05:00
Natalia
c5a107e824 Added CVE-2025-64458 and CVE-2025-64459 to security archive. 2025-11-05 11:17:12 -03:00