ddelange
e66b612bb7
Merge c9f6cadba5 into 1ce6e78dd4
2025-11-17 13:45:10 +01:00
Mariusz Felisiak
1ce6e78dd4
Fixed #24920 -- Added support for DecimalField with no precision.
...
Docs / lint-docs (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / spelling (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
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.
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Docs / lint-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
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.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
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.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-11-06 15:50:59 -05:00
ddelange
c9f6cadba5
Merge branch 'django:main' into patch-1
2025-11-02 18:45:48 +01:00
Tim Schilling
340e4f832e
Added community package storage backends mention to docs.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
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.
Linters / isort (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
Docs / lint-docs (push) Has been cancelled
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.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
2025-10-27 15:05:23 +01:00
Mariusz Felisiak
ca3e0484ef
Refs #36005 -- Bumped minimum supported versions of docutils to 0.22.
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Docs / blacken-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / lint-docs (push) Has been cancelled
2025-10-19 20:13:16 +02:00
Mariusz Felisiak
d506e4a528
Fixed #36671 -- Dropped support for SQLite < 3.37.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-10-18 21:04:11 +02:00
Mariusz Felisiak
0c487aa3a7
Fixed #21961 -- Added support for database-level delete options for ForeignKey.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Thanks Simon Charette for pair programming.
Co-authored-by: Nick Stefan <NickStefan12@gmail.com>
Co-authored-by: Akash Kumar Sen <71623442+Akash-Kumar-Sen@users.noreply.github.com>
Co-authored-by: Simon Charette <charette.s@gmail.com>
2025-10-18 15:03:50 +02:00
aj2s
f715bc8990
Fixed #36669 -- Doc'd that negative indexes are not supported in F() slices.
2025-10-17 10:20:23 -04:00
Adam Johnson
e097e8a12f
Fixed #28586 -- Added model field fetch modes.
...
May your database queries be much reduced with minimal effort.
co-authored-by: Andreas Pelme <andreas@pelme.se>
co-authored-by: Simon Charette <charette.s@gmail.com>
co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2025-10-16 14:52:22 -04:00
Sarah Boyce
5b51e6f759
Fixed #36611 , Refs #36580 -- Added system check for multicolumn ForeignObject in Meta.indexes/constraints/unique_together.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
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>
2025-10-13 14:53:39 -03:00
Mariusz Felisiak
1167cd1d63
Corrected admin check IDs in docs.
Docs / lint-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
2025-10-09 20:01:31 +02:00
Natalia
608d3ebc88
Fixed #36526 -- Doc'd QuerySet.bulk_update() memory usage when batching.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / black (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / flake8 (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Thanks Simon Charette for the review.
2025-10-08 18:27:16 -03:00
Mariusz Felisiak
4a8ca8bd69
Added missing backticks in docs/ref/models/fields.txt.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
2025-10-08 10:58:59 +02:00
Mariusz Felisiak
6e3287408e
Refs #36623 -- Confirmed support for PostGIS 3.6.
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
Docs / lint-docs (push) Has been cancelled
2025-10-03 17:12:57 -04:00
Mariusz Felisiak
5bd775703c
Fixed #36623 -- Dropped support for PostgreSQL 14 and PostGIS 3.1.
2025-10-03 17:12:57 -04:00
Jacob Walls
0a09c60e97
Refs #36143 , #28596 -- Avoided mentioning exact query parameter limit in bulk_create() docs.
2025-10-03 11:25:17 -04:00
arsalan64
e8190b370e
Fixed #36277 -- Fixed DatabaseFeatures.supports_virtual_generated_columns on PostgreSQL 18+.
2025-09-29 10:54:27 +02:00
John Parton
1820d35b17
Fixed #36605 -- Added support for QuerySet.in_bulk() after .values() or .values_list().
...
co-authored-by: Adam Johnson <me@adamj.eu>
co-authored-by: Simon Charette <charette.s@gmail.com>
2025-09-25 08:51:43 -04:00
Jacob Walls
efb96138b4
Refs #25508 -- Used QuerySet.__repr__ in docs/ref/contrib/postgres/search.txt.
2025-09-23 10:07:31 -04:00
David Smith
e20e189045
Refs #33783 -- Added IsEmpty GIS database function and __isempty lookup on SpatiaLite.
Docs / blacken-docs (push) Waiting to run
Docs / spelling (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
2025-09-22 22:04:42 -04:00
ddelange
66e0a0d3a5
Merge branch 'django:main' into patch-1
2025-09-20 19:45:39 +02:00
Jacob Walls
7d7e5cd055
Refs #35444 -- Removed contrib.postgres aggregates ordering kwarg per deprecation timeline.
2025-09-17 15:17:05 -03:00
Jacob Walls
00a84fc6f3
Removed versionadded/changed annotations for 5.2.
2025-09-17 15:17:05 -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
Jake Howard
4289966d1b
Fixed #35859 -- Added background Tasks framework interface.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
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().
...
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
Docs / lint-docs (push) Has been cancelled
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.
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Docs / spelling (push) Waiting to run
2025-09-13 11:24:43 -04:00
Mridul Dhall
e183d6c26c
Fixed #36597 -- Corrected directives for functions from email module in docs.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Thanks Mike Edmunds for the report.
2025-09-12 18:51:52 +02:00
ddelange
794273d731
Merge branch 'django:main' into patch-1
2025-09-09 16:33:21 +02:00
Salman
46fdeb1373
Fixed #36486 -- Added MongoDB to list of third-party DB backends.
Docs / lint-docs (push) Has been cancelled
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
2025-09-09 08:23:41 +02:00
Tim Graham
2a636118da
Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
2025-09-05 10:43:10 -04:00
Jake Howard
4e7a991c12
Refs #36588 -- Warned about using external templates in startapp/startproject commands.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
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.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
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.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
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.
...
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
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