From 4237050684427db45ea834fe89d9e11c0520201e Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Sat, 4 Apr 2020 20:55:20 +0200 Subject: Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject. Thanks Simon Charette for the solution and analysis. --- docs/releases/3.0.6.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/3.0.6.txt b/docs/releases/3.0.6.txt index e25d6e8fc8..6fd7aad02b 100644 --- a/docs/releases/3.0.6.txt +++ b/docs/releases/3.0.6.txt @@ -9,4 +9,6 @@ Django 3.0.6 fixes several bugs in 3.0.5. Bugfixes ======== -* ... +* Fixed a regression in Django 3.0 that caused a crash when filtering a + ``Subquery()`` annotation of a queryset containing a single related field + against a ``SimpleLazyObject`` (:ticket:`31420`). -- cgit v1.3