From d323cdcbf698fefa9f2d29589261d0757f4417c9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 29 Aug 2013 15:39:44 +0200 Subject: Make all "short_label" properties (refs #1370) --- ishtar_common/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/wizards.py') diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index e3df00771..b04ef48ee 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -214,7 +214,7 @@ class Wizard(NamedUrlWizardView): for val in values: item = associated_models[key].objects.get(pk=val) if hasattr(item, 'short_label'): - value = item.short_label() + value = item.short_label else: value = unicode(item) rendered_values.append(value) -- cgit v1.2.3