Mariusz Felisiak
686a8a62ae
Added missing backticks in docs/releases/security.txt.
2025-09-04 11:10:09 +02:00
Sarah Boyce
f0c05a40d2
Added CVE-2025-57833 to security archive.
2025-09-03 15:26:45 +02:00
Sarah Boyce
ab7c7dd99b
Added stub release notes for 5.2.7.
2025-09-03 15:20:37 +02:00
Jake Howard
5171171709
Fixed CVE-2025-57833 -- Protected FilteredRelation against SQL injection in column aliases.
...
Thanks Eyal Gabay (EyalSec) for the report.
2025-09-03 13:10:58 +02:00
Sarah Boyce
d044e25dc2
Made cosmetic edits to 5.2.6 release notes.
2025-09-03 12:15:01 +02:00
David Smith
0a67611b81
Fixed #36549 -- Doc'd use of OpenLayersWidget and OSMWidget with CSP.
...
OpenLayersWidget and OSMWidget load map tiles from NASA and OpenStreetMap,
respectively. When CSP is enabled, appropriate directives must be added to
allow these resources to load.
2025-09-02 16:40:05 -03:00
사재혁
e427e6b19b
Refs #35967 -- Removed deprecation note from backwards incompatible changes in 6.0 release notes.
...
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-09-01 21:31:21 +02:00
Clifford Gama
6c37a2fbb2
Removed outdated deprecation note in 6.0 release notes.
2025-08-31 08:18:23 +02:00
Clifford Gama
21603c5b50
Removed unused import in docs/ref/models/expressions.txt example.
2025-08-31 08:15:13 +02:00
Jacob Walls
a627194567
Refs #36485 -- Corrected docs linter to detect too-long lines at file end.
2025-08-29 17:35:50 -04:00
SaJH
bb7a7701b1
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>
2025-08-29 15:33:44 -04:00
Mustafa Pirbhai
183fcebf88
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>
2025-08-29 08:58:58 +02:00
Rob Hudson
550822bcee
Fixed #36532 -- Added Content Security Policy view decorators to override or disable policies.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-08-28 17:23:48 -03:00
Simon Charette
292b9e6fe8
Refs #27222 -- Adapted RETURNING handling to be usable for UPDATE queries.
...
Renamed existing methods and abstractions used for INSERT … RETURNING
to be generic enough to be used in the context of UPDATEs as well.
This also consolidates SQL compliant implementations on
BaseDatabaseOperations.
2025-08-28 20:44:21 +02:00
David Smith
c93dddf659
Added sphinxlint checker to flag relative targets in :doc: roles.
...
Co-authored-by: Adam Johnson <me@adamj.eu>
2025-08-28 13:48:32 -03:00
Adam Johnson
56955636e6
Ensured :doc: role uses absolute targets in docs.
2025-08-28 13:48:32 -03:00
Natalia
ae03f81ffa
Replaced :doc: role usage with :ref: when appropriate in docs.
2025-08-28 13:48:32 -03:00
David Smith
05bac8c420
Refs #36570 -- Added sphinxlint checker to flag unnecessary :py domain in documentation roles.
2025-08-28 08:52:43 +02:00
SaJH
3c0c54351b
Fixed #36570 -- Removed unnecessary :py domain from documentation roles.
...
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-28 08:52:43 +02:00
Sarah Boyce
4c71e33440
Added stub release notes and release date for 5.2.6, 5.1.12, and 4.2.24.
2025-08-27 16:01:20 +02:00
Sarah Boyce
d0e4dd5cdd
Fixed #36572 -- Revert "Fixed #36546 -- Deprecated django.utils.crypto.constant_time_compare() in favor of hmac.compare_digest()."
...
This reverts commit 0246f478882c26bc1fe293224653074cd46a90d0.
2025-08-27 10:50:50 +02:00
Jacob Walls
c594574175
Clarified Trac "version" attribute in contributing guide.
2025-08-26 17:49:06 -04:00
Jacob Walls
66082a7dac
Corrected definition of "needsinfo" triage stage in contributing guide.
2025-08-26 16:00:47 -04:00
David Smith
07f44c9e9a
Fixed #36568 -- Confirmed support for GEOS 3.14.
2025-08-26 16:01:41 -03:00
David Smith
43e4d0a142
Fixed #36485 -- Added lint-docs check in Tox and GitHub Actions.
...
The `check` docs target now runs spelling, black, and lint, so all
current documentation quality checks can be run with a single command.
Also documented the lint-docs check's availability and usage.
2025-08-25 10:51:10 -03:00
David Smith
f81e6e3a53
Refs #36485 -- Rewrapped docs to 79 columns line length.
...
Lines in the docs files were manually adjusted to conform to the
79 columns limit per line (plus newline), improving readability and
consistency across the content.
2025-08-25 10:51:10 -03:00
Natalia
4286a23df6
Refs #36485 -- Removed double spaces after periods in sentences.
2025-08-25 10:51:10 -03:00
Natalia
01a460f23e
Refs #36485 -- Removed trailing spaces and tabs in docs.
2025-08-25 10:51:10 -03:00
David Smith
724e5ec6f2
Refs #36485 -- Fixed dangling hyphen and unbalanced inline markup in docs.
2025-08-25 10:51:10 -03:00
David Smith
6f8e23d1c1
Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in docs.
2025-08-25 10:51:10 -03:00
David Smith
ef2f16bc48
Refs #36485 -- Added sphinx-lint support and make lint rule for docs.
...
This adds a `lint.py` script to run sphinx-lint on Django's docs files,
a mathing `lint` target in the `docs/Makefile` and `docs/make.bat`, and
updates `docs/requirements.txt` accordingly.
2025-08-25 10:51:10 -03:00
SaJH
0246f47888
Fixed #36546 -- Deprecated django.utils.crypto.constant_time_compare() in favor of hmac.compare_digest().
...
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-25 14:45:16 +02:00
Jacob Walls
165ad74c57
Removed reference to flake8 file exclusions.
...
Obsolete since 41384812efe209c8295a50d78b45e0ffb2992436.
(six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.)
2025-08-23 20:01:00 +02:00
Mariusz Felisiak
b3166e1e15
Refs #35530 -- Corrected deprecation message in auth.alogin().
...
Follow up to ceecd518b19044181a3598c55ebed7c2545963cc.
2025-08-22 16:14:09 +02:00
SaJH
f2a6c0477f
Fixed #36399 -- Added support for multiple Cookie headers in HTTP/2 for ASGIRequest.
...
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-21 16:48:54 +02:00
David Smith
fb0d463b1f
Fixed #36382 -- Confirmed support for GDAL 3.11.
...
TIGER driver was removed in GDAL 3.11.
eb793be039
2025-08-21 16:46:41 +02:00
Mariusz Felisiak
bcddf641ae
Corrected release notes of calling format_html() without arguments.
2025-08-20 07:33:39 +02:00
mengxun
f5c944b314
Fixed spelling of "logged-in" when used as an adjective in docs.
2025-08-19 12:43:05 -03:00
antoliny0919
4187da258f
Fixed #35892 -- Supported Widget.use_fieldset in admin forms.
2025-08-19 16:35:56 +02:00
David Smith
ad4a9e0f3b
Refs #25706 -- Fixed versionadded indentation in docs/ref/contrib/gis/forms-api.txt.
2025-08-18 18:21:00 -03:00
farhan
5e06b97095
Fixed #36410 -- Added support for Template Partials to the Django Template Language.
...
Introduced `{% partialdef %}` and `{% partial %}` template tags to
define and render reusable named fragments within a template file.
Partials can also be accessed using the `template_name#partial_name`
syntax via `get_template()`, `render()`, `{% include %}`, and other
template-loading tools.
Adjusted `get_template()` behavior to support partial resolution, with
appropriate error handling for invalid names and edge cases. Introduced
`PartialTemplate` to encapsulate partial rendering behavior.
Includes tests and internal refactors to support partial context
binding, exception reporting, and tag validation.
Co-authored-by: Carlton Gibson <carlton@noumenal.es>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2025-08-14 21:53:14 -03:00
David Sanders
fda3c1712a
Aligned format of constraint examples in docs/ref/models/constraints.txt.
2025-08-13 09:09:19 +02:00
Jacob Walls
eed7f44244
Refs #36210 -- Added release note for further subquery support for composite pks.
...
Follow-up to fd569dd45bf0746378faf7f65172497f21ed27f0.
2025-08-11 10:22:59 +02:00
Rohit
fa804d0d14
Corrected code examples in topics docs.
2025-08-11 10:12:43 +02:00
James Bligh
c1aa4a7a79
Fixed #36525 -- Silenced individual deleted file messages in collectstatic --clear's default verbosity.
2025-08-08 09:52:16 +02:00
Sarah Boyce
0bff53b413
Added stub release notes for 5.2.6.
2025-08-06 10:32:17 +02:00
Sarah Boyce
8999b0e2bf
Added release date for 5.2.5.
2025-08-06 09:58:49 +02:00
David Smith
7f9bf357fe
Refs #36485 -- Grouped docs checks under a unified make check target.
...
Added a new 'check' rule to the docs Makefile which runs both the black
and spelling checks.
2025-08-05 12:18:19 -03:00
David Smith
cba7328196
Refs #34140 -- Added dedicated code block formatting section in docs/internals/contributing/writing-documentation.txt.
2025-08-05 12:18:19 -03:00
James Bligh
6142e3f347
Fixed #26583 -- Silenced individual clashing name warnings in collectstatic's default verbosity.
...
Made collectstatic report individual destination conflicts only at verbosity 2+.
Made verbosity level 1 report a summary count of skipped files.
2025-08-05 16:37:43 +02:00