You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.py 507B

12345678910111213141516
  1. from django.db.backends.mysql.base import (
  2. DatabaseWrapper as MySQLDatabaseWrapper,
  3. )
  4. from .features import DatabaseFeatures
  5. from .introspection import MySQLIntrospection
  6. from .operations import MySQLOperations
  7. from .schema import MySQLGISSchemaEditor
  8. class DatabaseWrapper(MySQLDatabaseWrapper):
  9. SchemaEditorClass = MySQLGISSchemaEditor
  10. # Classes instantiated in __init__().
  11. features_class = DatabaseFeatures
  12. introspection_class = MySQLIntrospection
  13. ops_class = MySQLOperations