mirror of
https://github.com/django/django.git
synced 2025-07-17 02:05:18 +00:00
6 lines
145 B
Python
6 lines
145 B
Python
try:
|
|
from django.contrib.gis import admin
|
|
except ImportError:
|
|
from django.contrib import admin
|
|
|
|
admin.OSMGeoAdmin = admin.ModelAdmin
|