From 8f02a78695a6c07bc5b05499e6e6cf96bc25320f Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Mon, 22 Feb 2021 09:12:33 +0000 Subject: [PATCH] Refs #16117 -- Made @action and @display decorators importable from django.contrib.gis.admin. --- django/contrib/gis/admin/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/gis/admin/__init__.py b/django/contrib/gis/admin/__init__.py index e014f12ceb..b0edaf0193 100644 --- a/django/contrib/gis/admin/__init__.py +++ b/django/contrib/gis/admin/__init__.py @@ -1,12 +1,12 @@ from django.contrib.admin import ( HORIZONTAL, VERTICAL, AdminSite, ModelAdmin, StackedInline, TabularInline, - autodiscover, register, site, + action, autodiscover, display, register, site, ) from django.contrib.gis.admin.options import GeoModelAdmin, OSMGeoAdmin from django.contrib.gis.admin.widgets import OpenLayersWidget __all__ = [ 'HORIZONTAL', 'VERTICAL', 'AdminSite', 'ModelAdmin', 'StackedInline', - 'TabularInline', 'autodiscover', 'register', 'site', + 'TabularInline', 'action', 'autodiscover', 'display', 'register', 'site', 'GeoModelAdmin', 'OSMGeoAdmin', 'OpenLayersWidget', ]