From 412f474c2154731d9ba9f46f89f96dedba402418 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 24 Jul 2017 01:19:38 +0200 Subject: Add description to polygon and routes (refs #3440) --- chimere/admin.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chimere/admin.py') diff --git a/chimere/admin.py b/chimere/admin.py index 1295cf5..99ef31e 100644 --- a/chimere/admin.py +++ b/chimere/admin.py @@ -304,14 +304,10 @@ MARKER_FIELDSETS = [ ROUTE_FIELDSETS = deepcopy(MARKER_FIELDSETS) ROUTE_FIELDSETS[0][1]['fields'][0] = 'route' -ROUTE_FIELDSETS[0][1]['fields'].pop(ROUTE_FIELDSETS[0][1]['fields'].index( - 'description')) ROUTE_FIELDSETS[3][1]['fields'] = ('ref_item', 'associated_file', 'read_from_file') POLYGON_FIELDSETS = deepcopy(MARKER_FIELDSETS) POLYGON_FIELDSETS[0][1]['fields'][0] = 'polygon' -POLYGON_FIELDSETS[0][1]['fields'].pop(POLYGON_FIELDSETS[0][1]['fields'].index( - 'description')) class MarkerAdmin(admin.ModelAdmin): -- cgit v1.2.3