2015-01-28 20:35:27 +08:00
|
|
|
from django.db.backends.mysql.base import \
|
|
|
|
DatabaseWrapper as MySQLDatabaseWrapper
|
2009-12-22 23:18:51 +08:00
|
|
|
|
2015-01-13 04:20:40 +08:00
|
|
|
from .features import DatabaseFeatures
|
|
|
|
from .introspection import MySQLIntrospection
|
|
|
|
from .operations import MySQLOperations
|
|
|
|
from .schema import MySQLGISSchemaEditor
|
2014-08-18 01:06:25 +08:00
|
|
|
|
|
|
|
|
2013-10-27 11:57:08 +08:00
|
|
|
class DatabaseWrapper(MySQLDatabaseWrapper):
|
2014-09-26 01:59:03 +08:00
|
|
|
SchemaEditorClass = MySQLGISSchemaEditor
|
2016-09-09 04:33:36 +08:00
|
|
|
# Classes instantiated in __init__().
|
|
|
|
features_class = DatabaseFeatures
|
|
|
|
introspection_class = MySQLIntrospection
|
|
|
|
ops_class = MySQLOperations
|