Refs #16117 -- Made @action and @display decorators importable from django.contrib.gis.admin.

This commit is contained in:
Nick Pope 2021-02-22 09:12:33 +00:00 committed by GitHub
parent 0e4e35722a
commit 8f02a78695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
from django.contrib.admin import ( from django.contrib.admin import (
HORIZONTAL, VERTICAL, AdminSite, ModelAdmin, StackedInline, TabularInline, 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.options import GeoModelAdmin, OSMGeoAdmin
from django.contrib.gis.admin.widgets import OpenLayersWidget from django.contrib.gis.admin.widgets import OpenLayersWidget
__all__ = [ __all__ = [
'HORIZONTAL', 'VERTICAL', 'AdminSite', 'ModelAdmin', 'StackedInline', 'HORIZONTAL', 'VERTICAL', 'AdminSite', 'ModelAdmin', 'StackedInline',
'TabularInline', 'autodiscover', 'register', 'site', 'TabularInline', 'action', 'autodiscover', 'display', 'register', 'site',
'GeoModelAdmin', 'OSMGeoAdmin', 'OpenLayersWidget', 'GeoModelAdmin', 'OSMGeoAdmin', 'OpenLayersWidget',
] ]