Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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

…ntrib.gis.admin` for API consistency and convenience.

Backport of r9282 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d2f6a84 commit 3517f8a5ac19b4be3b7a9f2f304ee2f073b00fae @jbronn jbronn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/gis/admin/
2  django/contrib/gis/admin/
@@ -1,5 +1,5 @@
# 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

0 comments on commit 3517f8a

Please sign in to comment.
Something went wrong with that request. Please try again.