diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 6e213f890a..0c1a2c87eb 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -297,6 +297,9 @@ Models * :meth:`.QuerySet.raw` now supports models with a :class:`~django.db.models.CompositePrimaryKey`. +* Subqueries returning a :class:`~django.db.models.CompositePrimaryKey` can now + be used as the target of lookups other than ``__in``, such as ``__exact``. + * :class:`~django.db.models.JSONField` now supports :ref:`negative array indexing ` on SQLite.