0
0
mirror of https://github.com/django/django.git synced 2024-11-28 10:48:32 +01:00
django/tests/gis_tests/admin.py

7 lines
147 B
Python

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