Commit 3517f8a5 authored by Justin Bronn's avatar Justin Bronn
Browse files

Fixed #9391 -- `AdminSite` and `ModelAdmin` now exposed in...

Fixed #9391 -- `AdminSite` and `ModelAdmin` now exposed in `django.contrib.gis.admin` for API consistency and convenience.

Backport of r9282 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent d2f6a846
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# 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.
from django.contrib.gis.admin.options import GeoModelAdmin