[1.11.x] Fixed #27828 -- Fixed a crash when subtracting Integer/DurationField from DateField on Oracle/PostgreSQL.

Backport of d5088f838d from master
This commit is contained in:
Vytis Banaitis 2017-02-12 16:43:04 +02:00 committed by Tim Graham
parent 4f0185aac3
commit eedf276ed1
3 changed files with 10 additions and 1 deletions

View file

@ -14,3 +14,6 @@ Bugfixes
* Fixed ``RequestDataTooBig`` and ``TooManyFieldsSent`` exceptions crashing
rather than generating a bad request response (:ticket:`27820`).
* Fixed a crash on Oracle and PostgreSQL when subtracting ``DurationField``
or ``IntegerField`` from ``DateField`` (:ticket:`27828`).