diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-04-04 18:09:46 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-04-18 15:17:49 +0200 |
| commit | 6b6d13bf6ed02c345912829e3850a201f113712a (patch) | |
| tree | 7d744ccc557c3939950068f09cba050c843bc05d /tests/gis_tests/admin.py | |
| parent | 8097e5483210fa8c9d6142f1d48e1caed6d7b7bb (diff) | |
Stopped conditional discovery of gis_tests apps
Refs #23879.
Diffstat (limited to 'tests/gis_tests/admin.py')
| -rw-r--r-- | tests/gis_tests/admin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/gis_tests/admin.py b/tests/gis_tests/admin.py new file mode 100644 index 0000000000..f693ef34de --- /dev/null +++ b/tests/gis_tests/admin.py @@ -0,0 +1,6 @@ +try: + from django.contrib.gis import admin +except ImportError: + from django.contrib import admin + + admin.OSMGeoAdmin = admin.ModelAdmin |
