mirror of
https://github.com/django/django.git
synced 2025-01-12 11:26:23 +00:00
Fixed #9391 -- AdminSite
and ModelAdmin
now exposed in django.contrib.gis.admin
for API consistency and convenience.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0503442d2c
commit
cbeea83107
@ -1,5 +1,5 @@
|
|||||||
# Getting the normal admin routines, classes, and `site` instance.
|
# Getting the normal admin routines, classes, and `site` instance.
|
||||||
from django.contrib.admin import autodiscover, site, StackedInline, TabularInline, HORIZONTAL, VERTICAL
|
from django.contrib.admin import autodiscover, site, AdminSite, ModelAdmin, StackedInline, TabularInline, HORIZONTAL, VERTICAL
|
||||||
|
|
||||||
# Geographic admin options classes and widgets.
|
# Geographic admin options classes and widgets.
|
||||||
from django.contrib.gis.admin.options import GeoModelAdmin
|
from django.contrib.gis.admin.options import GeoModelAdmin
|
||||||
|
Loading…
Reference in New Issue
Block a user