From c4d6dcde8100cff669e1b1b8074c41ff24e8eaf1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 9 Jan 2014 19:20:45 +0100 Subject: Add window for administrativ acts (refs #1587) --- ishtar_common/views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/views.py b/ishtar_common/views.py index 3e0bffd32..7963dc46a 100644 --- a/ishtar_common/views.py +++ b/ishtar_common/views.py @@ -385,6 +385,8 @@ def get_item(model, func_name, default_name, extra_request_keys=[], lnk = link_template % reverse('show-'+default_name, args=[data[0], '']) except NoReverseMatch: + print '"show-' + default_name + "\" args (" + \ + unicode(data[0]) + ") url not available" lnk = '' res = {'id':data[0], 'link':lnk} for idx, value in enumerate(data[1:]): -- cgit v1.2.3