diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-24 01:19:38 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-24 01:19:38 +0200 |
commit | 412f474c2154731d9ba9f46f89f96dedba402418 (patch) | |
tree | 8e58a966dbf43f064694376c7a68999153f64bd9 /chimere/admin.py | |
parent | 4a361bad1d0ff12f4df72887ad05fd8b4557590e (diff) | |
download | Chimère-412f474c2154731d9ba9f46f89f96dedba402418.tar.bz2 Chimère-412f474c2154731d9ba9f46f89f96dedba402418.zip |
Add description to polygon and routes (refs #3440)
Diffstat (limited to 'chimere/admin.py')
-rw-r--r-- | chimere/admin.py | 4 |
1 files changed, 0 insertions, 4 deletions
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): |