1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Stopped conditional discovery of gis_tests apps

Refs #23879.
This commit is contained in:
Claude Paroz
2015-04-04 18:09:46 +02:00
parent 8097e54832
commit 6b6d13bf6e
15 changed files with 83 additions and 21 deletions

6
tests/gis_tests/admin.py Normal file
View File

@@ -0,0 +1,6 @@
try:
from django.contrib.gis import admin
except ImportError:
from django.contrib import admin
admin.OSMGeoAdmin = admin.ModelAdmin