mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
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 3543129822
.
Thanks Reupen Shah for the report.
This commit is contained in:
parent
372eaa395f
commit
9bcbcd599a
7 changed files with 46 additions and 10 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue