From 7d9ae731c0e0ba3509ae7e32098e112101707b61 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 9 Apr 2019 10:20:30 +0200 Subject: [PATCH] Allow to filter maps by share_status in admin fix #682 --- umap/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/umap/admin.py b/umap/admin.py index 17a94bc2..b583dc2c 100644 --- a/umap/admin.py +++ b/umap/admin.py @@ -10,6 +10,7 @@ class TileLayerAdmin(admin.ModelAdmin): class MapAdmin(admin.OSMGeoAdmin): search_fields = ("name",) autocomplete_fields = ("owner", "editors") + list_filter = ("share_status",) admin.site.register(Map, MapAdmin)