Commit Graph

5587 Commits

Author SHA1 Message Date
SnippyCodes
7bc9d39fbd [6.0.x] Fixed #36272 -- Removed obsolete libgeoip from GeoDjango installation docs.
Backport of 6c2436fa86 from main.
2026-02-06 10:32:16 -05:00
Jacob Walls
da2125b562 [6.0.x] Added missing quotes around nonce in docs/ref/csp.txt.
Backport of 986f7f2098 from main.
2026-02-02 07:30:19 -05:00
Clifford Gama
9814676ea7 [6.0.x] Refs #25508 -- Updated outdated QuerySet.__repr__() results.
Backport of d6cca8b904 from main.
2026-01-19 09:59:17 -05:00
Amar Ahmed Deina
8230e9b7fa [6.0.x] Fixed #36844 -- Clarified need for reusable apps to set default_auto_field in packaging tutorial and AppConfig docs.
Backport of 091ffc4e5e from main.
2026-01-08 10:21:08 -05:00
David Sanders
6d4ccca48b [6.0.x] Refs #35444 -- Clarified StringAgg deprecation notice in docs/ref/contrib/postgres/aggregates.txt.
Backport of 8932a67725 from main.
2025-12-11 12:59:49 -05:00
Jake Howard
f8e55b39d4 [6.0.x] Included ASGI servers when noting what the server does.
Backport of 1651140a80 from main.
2025-12-11 12:42:37 -05:00
Carlton Gibson
0129f40bef [6.0.x] 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.

Backport of 37eb890969 from main.
2025-12-11 12:35:16 -05:00
Jacob Walls
189dcb1002 [6.0.x] Fixed #36778 -- Extended advice to sanitize input before using in query expressions.
Thanks Clifford Gama and Simon Charette for reviews.

Backport of 334308efae from main.
2025-12-08 10:25:57 -05:00
Clifford Gama
bdd06c5457 [6.0.x] Refs #27834 -- Restored "expression" in StrIndex's docs signature.
Documentation regression in 20dbf19fc5.
Backport of 020e5799ad from main.
2025-12-05 10:29:49 -05:00
Jacob Walls
a9f5ca5c58 [6.0.x] Refs #35859 -- Clarified Tasks ref and topics docs regarding available backends.
Backport of d3f142f2cd from main.
2025-12-03 13:09:57 -03:00
Cha Hwa Young
122b2dc569 [6.0.x] 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.

Backport of 55af4749b9 from main.
2025-11-26 08:34:35 -05:00
nessita
b72ee77f6b [6.0.x] Ensured that Sitemap.items is described as a method in docs/ref/contrib/sitemaps.txt.
Backport of ee2e0e2028 from main.
2025-11-20 15:44:33 -03:00
Kasyap Pentamaraju
37b5dced86 [6.0.x] Fixed #36686 -- Clarified Meta.ordering is ignored in GROUP BY queries.
Backport of 7e765a6859 from main.
2025-11-13 11:19:05 -05:00
Clifford Gama
d6af15d44d [6.0.x] Fixed typo in docs/ref/databases.txt.
Backport of 2b0f24e622 from main.
2025-11-10 18:00:19 -03:00
Clifford Gama
37ab85dd8d [6.0.x] Clarified "get_db_prep_value" default result in docs/ref/models/fields.txt.
Backport of c135be349d from main.
2025-11-10 14:12:06 -03:00
Hong Xu
cdae630530 [6.0.x] 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.

Backport of a4f7674134 from main.
2025-11-10 12:52:53 -03:00
Tim Schilling
fb2fb2de4d [6.0.x] Removed community packages admonition from settings docs.
Backport of 5ef870fbc5 from main.
2025-11-06 15:52:36 -05:00
Tim Schilling
a36108094d [6.0.x] Added community package storage backends mention to docs.
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>

Backport of 340e4f832e from main.
2025-10-30 17:22:24 -04:00
Mariusz Felisiak
195836b69a [6.0.x] Refs #36005 -- Bumped minimum supported versions of docutils to 0.22.
Backport of ca3e0484ef from main.
2025-10-19 20:16:37 +02:00
aj2s
fa772f4014 [6.0.x] Fixed #36669 -- Doc'd that negative indexes are not supported in F() slices.
Backport of f715bc8990 from main.
2025-10-17 10:22:04 -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
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
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
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
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
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
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
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
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
Salman
46fdeb1373 Fixed #36486 -- Added MongoDB to list of third-party DB backends. 2025-09-09 08:23:41 +02:00
Tim Graham
2a636118da Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField. 2025-09-05 10:43:10 -04:00
Jake Howard
4e7a991c12 Refs #36588 -- Warned about using external templates in startapp/startproject commands.
Clarified that custom templates provided via `--template` for `starapp`
and `startproject` are used as-is, adding a warning that malicious or
poorly constructed templates may introduce security issues.
2025-09-04 13:37:54 -03: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
Clifford Gama
21603c5b50 Removed unused import in docs/ref/models/expressions.txt example. 2025-08-31 08:15:13 +02: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
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
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
David Smith
07f44c9e9a Fixed #36568 -- Confirmed support for GEOS 3.14. 2025-08-26 16:01:41 -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
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
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
mengxun
f5c944b314 Fixed spelling of "logged-in" when used as an adjective in docs. 2025-08-19 12:43:05 -03:00