Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #20015 -- date__startswith('2008') fails under Oracle

Removed the explicit casting of strings to dates
  • Loading branch information...
commit 8fd40b9ae783614658f6e0ca7af7f2faab0c48fc 1 parent b6ad999
@shaib shaib authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  django/db/backends/oracle/base.py
View
3  django/db/backends/oracle/base.py
@@ -248,9 +248,6 @@ def convert_values(self, value, field):
value = value.date()
return value
- def datetime_cast_sql(self):
- return "TO_TIMESTAMP(%s, 'YYYY-MM-DD HH24:MI:SS.FF')"
-
def deferrable_sql(self):
return " DEFERRABLE INITIALLY DEFERRED"
Please sign in to comment.
Something went wrong with that request. Please try again.