django/tests/gis_tests/admin.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
147 B
Python
Raw Normal View History

try:
from django.contrib.gis import admin
except ImportError:
from django.contrib import admin
admin.GISModelAdmin = admin.ModelAdmin