Skip to content
Browse files

Ensured gis tests aren't run on non-gis Oracle

  • Loading branch information...
1 parent a5152bb commit b55de81b9e4d820a223c066022050a0df0ee1dd0 @akaariai akaariai committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/gis/tests/
2 django/contrib/gis/tests/
@@ -26,7 +26,7 @@ def no_spatialite(func): return no_backend(func, 'spatialite')
spatialite = _default_db == 'spatialite'
-if oracle:
+if oracle and 'gis' in settings.DATABASES[DEFAULT_DB_ALIAS]['ENGINE']:
from import SpatialRefSys
elif postgis:
from django.contrib.gis.db.backends.postgis.models import SpatialRefSys

0 comments on commit b55de81

Please sign in to comment.
Something went wrong with that request. Please try again.