From 9bcbcd599abac91ea853b2fe10b784ba32df043e Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 2 Jan 2020 11:33:01 -0500 Subject: Fixed #31133 -- Fixed crash when subtracting against a subquery annotation. The subtract_temporals() database operation was not handling expressions returning SQL params in mixed database types. Regression in 35431298226165986ad07e91f9d3aca721ff38ec. Thanks Reupen Shah for the report. --- docs/releases/3.0.3.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/3.0.3.txt b/docs/releases/3.0.3.txt index db9f0fd562..ecc5ba9294 100644 --- a/docs/releases/3.0.3.txt +++ b/docs/releases/3.0.3.txt @@ -9,4 +9,6 @@ Django 3.0.3 fixes several bugs in 3.0.2. Bugfixes ======== -* ... +* Fixed a regression in Django 3.0 that caused a crash when subtracting + ``DateField``, ``DateTimeField``, or ``TimeField`` from a ``Subquery()`` + annotation (:ticket:`31133`). -- cgit v1.3