summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/querysets.txt9
-rw-r--r--docs/releases/6.1.txt3
2 files changed, 11 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index c819015b25..579c0de302 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -4175,7 +4175,14 @@ by the aggregate.
.. attribute:: delimiter
A ``Value`` or expression representing the string that should separate
- each of the values. For example, ``Value(",")``.
+ each of the values. For example, ``Value(",")``. (On SQLite, the
+ literal delimiter ``Value(",")`` is the only delimiter compatible with
+ ``distinct=True``.)
+
+ .. versionchanged:: 6.1
+
+ Support for using ``distinct=True`` with a delimiter of
+ ``Value(",")`` on SQLite was added.
Query-related tools
===================
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt
index 0d35982543..af783136ad 100644
--- a/docs/releases/6.1.txt
+++ b/docs/releases/6.1.txt
@@ -284,6 +284,9 @@ Models
* The :data:`~django.db.models.signals.m2m_changed` signal now receives a
``raw`` argument.
+* :class:`~django.db.models.StringAgg` now supports ``distinct=True`` on SQLite
+ when using the default delimiter ``Value(",")`` only.
+
Pagination
~~~~~~~~~~