summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-08-29 15:39:44 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-08-29 15:39:44 +0200
commite30953a0f8476142561c390fedb160dafc745cb9 (patch)
tree2b85c3e81e5b7849c962502fbe1d654094443865 /ishtar_common/models.py
parenta182b1c190020f1204cd0cb3918c5d1e9d2ce8c4 (diff)
downloadIshtar-e30953a0f8476142561c390fedb160dafc745cb9.tar.bz2
Ishtar-e30953a0f8476142561c390fedb160dafc745cb9.zip
Make all "short_label" properties (refs #1370)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py1
1 files changed, 1 insertions, 0 deletions
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