add duration as always visible keys

This commit is contained in:
j 2013-03-22 14:29:04 +00:00
parent 61a63ee565
commit 5ec7b1cf2d

View file

@ -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