summaryrefslogtreecommitdiff
path: root/ishtar_common/views.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2014-01-09 19:20:45 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2014-01-09 19:20:45 +0100
commitc4d6dcde8100cff669e1b1b8074c41ff24e8eaf1 (patch)
treed80aa99af269654bd7b322986ae12142b823f05a /ishtar_common/views.py
parent07ce193deeeff70bedf39ef5b884f25cc1339498 (diff)
downloadIshtar-c4d6dcde8100cff669e1b1b8074c41ff24e8eaf1.tar.bz2
Ishtar-c4d6dcde8100cff669e1b1b8074c41ff24e8eaf1.zip
Add window for administrativ acts (refs #1587)
Diffstat (limited to 'ishtar_common/views.py')
-rw-r--r--ishtar_common/views.py2
1 files changed, 2 insertions, 0 deletions
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:]):