From 736e7d44de395b867011ff9237dc5fdcfd28ee66 Mon Sep 17 00:00:00 2001 From: Johannes Hoppe Date: Wed, 24 Jul 2019 08:41:32 +0200 Subject: [PATCH] Refs #29444 -- Fixed DateField constructor in db.backends.oracle.utils.InsertVar. --- django/db/backends/oracle/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/oracle/utils.py b/django/db/backends/oracle/utils.py index ce2bf72d849..fdd6dee6172 100644 --- a/django/db/backends/oracle/utils.py +++ b/django/db/backends/oracle/utils.py @@ -20,7 +20,7 @@ class InsertVar: 'PositiveIntegerField': int, 'FloatField': Database.NATIVE_FLOAT, 'DateTimeField': Database.TIMESTAMP, - 'DateField': Database.DATETIME, + 'DateField': Database.Date, 'DecimalField': Database.NUMBER, }