From 5d911f2d2fecc703be91b2b9b28acc59d34b35f3 Mon Sep 17 00:00:00 2001 From: David Smith Date: Sun, 26 Apr 2026 07:53:13 +0100 Subject: Fixed #35738 -- Deprecated double-dot variable lookups. --- docs/internals/deprecation.txt | 3 +++ docs/releases/6.1.txt | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index c8e467a0ee..3cda71933b 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -77,6 +77,9 @@ details on these changes. ``django.contrib.postgres.aggregates.BitOr``, and ``django.contrib.postgres.aggregates.BitXor`` classes will be removed. +* Support for double-dot variable lookup, like ``{{ book..title }}``, + is removed. + .. _deprecation-removed-in-6.1: 6.1 diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index 48f8939041..3ec680702c 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -573,6 +573,10 @@ Miscellaneous :class:`~django.db.models.BitOr`, and :class:`~django.db.models.BitXor` classes. +* Support for a double-dot variable lookup like ``{{ book..title }}`` which + maps to a lookup of the empty string before the next lookup of the named + attribute is deprecated. + Features removed in 6.1 ======================= -- cgit v1.3