~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to django/contrib/gis/db/backends/oracle/base.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-05-21 07:52:55 UTC
  • mfrom: (1.3.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20100521075255-ii78v1dyfmyu3uzx
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.db.backends.oracle.base import *
 
2
from django.db.backends.oracle.base import DatabaseWrapper as OracleDatabaseWrapper
 
3
from django.contrib.gis.db.backends.oracle.creation import OracleCreation
 
4
from django.contrib.gis.db.backends.oracle.introspection import OracleIntrospection
 
5
from django.contrib.gis.db.backends.oracle.operations import OracleOperations
 
6
 
 
7
class DatabaseWrapper(OracleDatabaseWrapper):
 
8
    def __init__(self, *args, **kwargs):
 
9
        super(DatabaseWrapper, self).__init__(*args, **kwargs)
 
10
        self.ops = OracleOperations(self)
 
11
        self.creation = OracleCreation(self)
 
12
        self.introspection = OracleIntrospection(self)