mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Added gis_tests.utils.mariadb hook.
This commit is contained in:
@@ -46,6 +46,7 @@ _default_db = settings.DATABASES[DEFAULT_DB_ALIAS]['ENGINE'].rsplit('.')[-1]
|
||||
oracle = _default_db == 'oracle'
|
||||
postgis = _default_db == 'postgis'
|
||||
mysql = _default_db == 'mysql'
|
||||
mariadb = mysql and connection.mysql_is_mariadb
|
||||
spatialite = _default_db == 'spatialite'
|
||||
|
||||
# MySQL spatial indices can't handle NULL geometries.
|
||||
|
||||
Reference in New Issue
Block a user