5628 Commits

Author SHA1 Message Date
SnippyCodes
6c2436fa86 Fixed #36272 -- Removed obsolete libgeoip from GeoDjango installation docs. 2026-02-06 10:31:16 -05:00
Jacob Walls
986f7f2098 Added missing quotes around nonce in docs/ref/csp.txt. 2026-02-02 07:29:41 -05:00
Jacob Walls
cbc4c9f11f Fixed typos in docs/ref/models/querysets.txt. 2026-01-30 15:59:14 -05:00
Natalia
ba96379011 Fixed docs spelling errors accumulated over time.
The `docs` GitHub action does not install `aspell` so the seplling
checks are always passing in CI. After installing it, the following
errors are reported:

WARNING: internals/security.txt:50: : Spell check: runnable: Include a runnable proof of concept.
WARNING: ref/contrib/postgres/search.txt:292: : Spell check: lexeme: an untrusted source. The content of each lexeme is escaped so that any.
WARNING: ref/contrib/postgres/search.txt:295: : Spell check: lexemes: You can combine lexemes with other lexemes using the .
WARNING: ref/contrib/postgres/search.txt:295: : Spell check: lexemes: You can combine lexemes with other lexemes using the .
WARNING: ref/contrib/postgres/search.txt:314: : Spell check: Lexeme: Lexeme objects also support term weighting and prefixes:.
WARNING: ref/models/database-functions.txt:1897: : Spell check: ai: 23ai/26ai (23.9) or later..
WARNING: ref/models/database-functions.txt:1897: : Spell check: ai: 23ai/26ai (23.9) or later..
WARNING: ref/models/expressions.txt:439: : Spell check: positionally:  can be supplied positionally or only by keyword. For.
WARNING: ref/models/fields.txt:1339: : Spell check: ai: PostgreSQL < 18 only supports persisted columns. Oracle < 23ai/26ai (23.7).
WARNING: ref/models/fields.txt:1339: : Spell check: ai: PostgreSQL < 18 only supports persisted columns. Oracle < 23ai/26ai (23.7).
WARNING: ref/models/fields.txt:1344: : Spell check: ai: s was added on Oracle 23ai/26ai.
WARNING: ref/models/fields.txt:1344: : Spell check: ai: s was added on Oracle 23ai/26ai.
WARNING: releases/4.2.21.txt:24: : Spell check: unclosed: exception if it encounters an unusually large number of unclosed opening tags..
WARNING: releases/5.1.9.txt:24: : Spell check: unclosed: exception if it encounters an unusually large number of unclosed opening tags..
WARNING: releases/5.2.1.txt:24: : Spell check: unclosed: exception if it encounters an unusually large number of unclosed opening tags..
WARNING: releases/6.1.txt:244: : Spell check: mistyped: suggestions for mistyped subcommand names and argument choices..
WARNING: releases/6.1.txt:281: : Spell check: ai: Oracle 23ai/26ai (23.7+)..
WARNING: releases/6.1.txt:281: : Spell check: ai: Oracle 23ai/26ai (23.7+)..
WARNING: releases/6.1.txt:343: : Spell check: durations: durations expressed in weeks (.
WARNING: Found 19 misspelled words
build finished with problems, 20 warnings (with warnings treated as errors).

This branch adds some of the words to the allowlist, but for others I
chose to rephrase the text in a more approachable manner.
2026-01-29 11:20:11 -03:00
Skyiesac
c3c9f1908e Fixed #36812 -- Dropped support for MariaDB < 10.11. 2026-01-25 09:19:43 +01:00
Clifford Gama
d6cca8b904 Refs #25508 -- Updated outdated QuerySet.__repr__() results. 2026-01-19 09:58:43 -05:00
Clifford Gama
2541641347 Fixed unbalanced parentheses in docs. 2026-01-19 08:39:25 -05:00
Mariusz Felisiak
6cff020787 Applied Black's 2026 stable style.
https://github.com/psf/black/releases/tag/26.1.0
2026-01-18 21:26:56 +01:00
Haki Benita
d61838761f Fixed #36827 -- Added support for exclusion constraints using Hash indexes on PostgreSQL. 2026-01-10 08:12:05 +01:00
Jacob Walls
f3b982f21f Fixed a typo in docs/ref/forms/models.txt. 2026-01-08 19:10:40 -05:00
Amar Ahmed Deina
091ffc4e5e Fixed #36844 -- Clarified need for reusable apps to set default_auto_field in packaging tutorial and AppConfig docs. 2026-01-08 10:20:38 -05:00
Natalia
1717332ca2 Relocated content from docs/topics/external-packages.txt where appropriate.
Following up a forum post and a conversation with the Steering Council,
it was decided to remove the docs/topics/external-packages.txt to avoid
confusion with the Ecosystem page. Relevant content was moved to their
related sections, except for `django-contrib-comments` which is not
actively maintained.

Thank you Tim Schilling for the review.
2026-01-08 10:50:56 -03:00
ankan0503
cc8ee496a5 Refs #36305 -- Fixed indentation in checks and middleware documentation. 2025-12-22 14:42:00 -05:00
Nilesh Kumar Pahari
6025eab3c5 Fixed #36806 -- Added system check for null kwarg in GeneratedField.
The null argument has no effect on GeneratedField since the nullability
of the column depends on the database and expression used.
2025-12-22 09:41:41 -05:00
Jonathan Biemond
b172cbdf33 Fixed #36808 -- Required name argument in UniqueConstraint signature.
By trading ValueError for TypeError for omitted name arguments,
we gain a little clarity.
2025-12-19 09:48:15 -05:00
Mariusz Felisiak
4702b36120 Fixed #27380 -- Added "raw" argument to m2m_changed signals. 2025-12-17 18:37:18 +01:00
varunkasyap
0d8548e583 Fixed #36747 -- Parsed weeks from ISO 8601 format in parse_duration(). 2025-12-17 10:19:05 -05:00
Mridul Dhall
d1a4979fa5 Fixed #36594 -- Improved UniqueConstraint's nulls_distinct system check message.
Clarified that the nulls_distinct argument is not supported, as opposed
to certain values for the argument.

Thanks Russell Owen for the report.
2025-12-16 15:06:10 -05:00
Mariusz Felisiak
0174a85770 Fixed #36765 -- Added support for stored GeneratedFields on Oracle 23ai/26ai (23.7+).
Thanks Jacob Walls for the review.
2025-12-13 16:38:04 +01:00
Lily Acorn
e95468ed97 Refs #36735 -- Supported shift parameter for UUID7 on PostgreSQL. 2025-12-12 11:50:36 -05:00
Lily Acorn
accceec949 Fixed #36735 -- Added UUID4 and UUID7 database functions.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2025-12-12 11:17:08 -05:00
David Sanders
8932a67725 Refs #35444 -- Clarified StringAgg deprecation notice in docs/ref/contrib/postgres/aggregates.txt. 2025-12-11 12:59:09 -05:00
Jake Howard
1651140a80 Included ASGI servers when noting what the server does. 2025-12-11 12:42:17 -05:00
Carlton Gibson
37eb890969 Noted testing uses for ContentTypeManager.clear_cache() method.
It is often necessary to reset the cache between tests, or after
preparing test state, when using content types. Django's test suite
already does this when needed, but users will need to do similar in
their own tests.
2025-12-11 12:34:43 -05:00
Jacob Walls
334308efae Fixed #36778 -- Extended advice to sanitize input before using in query expressions.
Thanks Clifford Gama and Simon Charette for reviews.
2025-12-08 10:25:24 -05:00
Clifford Gama
020e5799ad Refs #27834 -- Restored "expression" in StrIndex's docs signature.
Documentation regression in 20dbf19fc5.
2025-12-05 10:28:38 -05:00
Jacob Walls
d3f142f2cd Refs #35859 -- Clarified Tasks ref and topics docs regarding available backends. 2025-12-03 13:08:30 -03:00
Cha Hwa Young
55af4749b9 Fixed #31506 -- Clarified that ExpressionWrapper does not perform database casts.
Added warning in DateField documentation about type differences when using
timedelta on PostgreSQL and MySQL. Mentioned Cast() and integer arithmetic
solutions.
2025-11-26 08:33:22 -05:00
Mariusz Felisiak
70e93bc17b Fixed #36756 -- Dropped support for GDAL 3.1 and 3.2. 2025-11-25 11:21:13 +01:00
David Smith
d86802f13f Fixed #35783 -- Added NumDimensions GIS database function and __num_dimensions lookup. 2025-11-25 10:10:06 +01:00
Varun Kasyap Pentamaraju
fab1f25d4e Fixed #36738 -- Confirmed support for GDAL 3.12.
Thanks David Smith for reviews.
2025-11-24 22:02:25 +01:00
Tim Graham
57c50d8c19 Refs #21961 -- Added DatabaseFeatures.supports_on_delete_db_(cascade/null) feature flags.
Needed on MongoDB.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2025-11-23 11:53:24 +01:00
David Smith
789b075447 Fixed #35774 -- Dropped support for GEOS 3.8.
GEOS 3.8 (released Oct-2019) will be more than 5 years old when
Django 6.1 is released (Aug-2026).
2025-11-22 12:20:00 +01:00
VIZZARD-X
11f9fae0b7 Fixed #36741 -- Linked to custom save()/delete() caveats in docs/ref/models/querysets.txt. 2025-11-21 17:06:17 -05:00
Zubair Hassan
ff843bcbce Fixed #36734 -- Clarified the behavior of View.http_method_not_allowed. 2025-11-20 15:52:53 -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
Storm B. Heg
14fb36e0b0 Refs #36663, #36739 -- Added release note for running checks against all databases. 2025-11-20 09:54:45 -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
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
7e765a6859 Fixed #36686 -- Clarified Meta.ordering is ignored in GROUP BY queries. 2025-11-13 11:18:02 -05:00
Clifford Gama
2b0f24e622 Fixed typo in docs/ref/databases.txt. 2025-11-10 17:59:38 -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
Tim Schilling
5ef870fbc5 Removed community packages admonition from settings docs. 2025-11-06 15:50:59 -05:00
Tim Schilling
340e4f832e Added community package storage backends mention to docs.
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2025-10-30 17:21:28 -04:00
Clifford Gama
7fc9db1c6a Refs #35381 -- Clarified key and index lookup handling of None in exact lookup docs. 2025-10-29 15:00:52 -04:00
Clifford Gama
adc25a9a66 Fixed #35381 -- Added JSONNull() expression.
Thanks Jacob Walls for the review.
2025-10-29 15:00:52 -04:00
Clifford Gama
01f8460653 Fixed #36329 -- Removed non-code custom link text when cross-referencing Python objects.
Thanks Bruno Alla, Sarah Boyce, and Jacob Walls for reviews.

Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-10-29 11:32:12 -04:00
Mariusz Felisiak
c87daabbf3 Fixed #36624 -- Dropped support for MySQL < 8.4. 2025-10-27 15:05:23 +01:00
Mariusz Felisiak
ca3e0484ef Refs #36005 -- Bumped minimum supported versions of docutils to 0.22. 2025-10-19 20:13:16 +02:00