|
@@ -1,7 +1,7 @@
|
|
|
"""
|
|
|
Oracle database backend for Django.
|
|
|
|
|
|
-Requires cx_Oracle: http://cx-oracle.sourceforge.net/
|
|
|
+Requires cx_Oracle: https://oracle.github.io/python-cx_Oracle/
|
|
|
"""
|
|
|
import datetime
|
|
|
import decimal
|
|
@@ -149,8 +149,8 @@ class DatabaseWrapper(BaseDatabaseWrapper):
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -381,9 +381,6 @@ class FormatStylePlaceholderCursor:
|
|
|
Django uses "format" (e.g. '%s') style placeholders, but Oracle uses ":var"
|
|
|
style. This fixes it -- but note that if you want to use a literal "%s" in
|
|
|
a query, you'll need to use "%%s".
|
|
|
-
|
|
|
- We also do automatic conversion between Unicode on the Python side and
|
|
|
- UTF-8 -- for talking to Oracle -- in here.
|
|
|
"""
|
|
|
charset = 'utf-8'
|
|
|
|