1 from django
.db
.backends
.mysql
.base
import *
2 from django
.db
.backends
.mysql
.base
import DatabaseWrapper
as MySQLDatabaseWrapper
3 from django
.contrib
.gis
.db
.backends
.mysql
.creation
import MySQLCreation
4 from django
.contrib
.gis
.db
.backends
.mysql
.introspection
import MySQLIntrospection
5 from django
.contrib
.gis
.db
.backends
.mysql
.operations
import MySQLOperations
7 class DatabaseWrapper(MySQLDatabaseWrapper
):
9 def __init__(self
, *args
, **kwargs
):
10 super(DatabaseWrapper
, self
).__init
__(*args
, **kwargs
)
11 self
.creation
= MySQLCreation(self
)
12 self
.ops
= MySQLOperations()
13 self
.introspection
= MySQLIntrospection(self
)