2009-12-22 23:18:51 +08:00
|
|
|
from django.db.backends.oracle.base import *
|
|
|
|
from django.db.backends.oracle.base import DatabaseWrapper as OracleDatabaseWrapper
|
|
|
|
from django.contrib.gis.db.backends.oracle.creation import OracleCreation
|
2010-01-19 05:02:47 +08:00
|
|
|
from django.contrib.gis.db.backends.oracle.introspection import OracleIntrospection
|
2009-12-22 23:18:51 +08:00
|
|
|
from django.contrib.gis.db.backends.oracle.operations import OracleOperations
|
|
|
|
|
|
|
|
class DatabaseWrapper(OracleDatabaseWrapper):
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
|
|
super(DatabaseWrapper, self).__init__(*args, **kwargs)
|
|
|
|
self.ops = OracleOperations(self)
|
2010-01-19 05:02:47 +08:00
|
|
|
self.creation = OracleCreation(self)
|
|
|
|
self.introspection = OracleIntrospection(self)
|