From 5ec7b1cf2d8cffc0cc4a7c621fa6aee7436fbaa3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 22 Mar 2013 14:29:04 +0000 Subject: [PATCH] add duration as always visible keys --- pandora/item/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 93af2f609..cd0347324 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -484,7 +484,7 @@ def get(request): if 'capability' in k \ and not check_capability(k['capability']) \ and k['id'] in info \ - and k['id'] not in ('parts', 'durations'): + and k['id'] not in ('parts', 'durations', 'duration'): del info[k['id']] info['editable'] = item.editable(request.user) response['data'] = info