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/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 3f0cdc6b4..0a7c3e1f9 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -168,6 +168,7 @@ class GeneralType(models.Model): def __unicode__(self): return self.label + @property def short_label(self): return self.label -- cgit v1.2.3