File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ CHANGELOG
660.18.3 (unreleased)
77-------------------
88
9- -
9+ **New features**
10+
11+ - Added ``leaflet.admin.LeafletGeoAdminMixin``, useful for stacked or tabular
12+ inline forms (thanks @KostyaEsmukov, @Xowap)
1013
1114
12150.18.2 (2016-08-16)
Original file line number Diff line number Diff line change @@ -369,6 +369,17 @@ In Adminsite
369369 admin.site.register(WeatherStation, LeafletGeoAdmin)
370370
371371
372+ A mixin is also available for inline forms:
373+
374+ ::
375+
376+ from django.contrib import admin
377+ from leaflet.admin import LeafletGeoAdminMixin
378+
379+ class PoiLocationInline(LeafletGeoAdminMixin, admin.StackedInline):
380+ model = PoiLocation
381+
382+
372383In forms
373384~~~~~~~~
374385
You can’t perform that action at this time.
0 commit comments