summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-11 18:05:05 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-11 18:05:05 +0200
commitf7ef537f915f30ea8513c18f43d79733a5d47ac2 (patch)
tree3898e42a7a454b74a16446d5f642e9a18581e17b /ishtar_common/models.py
parentf6428834b80e5d0d4aab1855aa60ace3ebef9c2c (diff)
downloadIshtar-f7ef537f915f30ea8513c18f43d79733a5d47ac2.tar.bz2
Ishtar-f7ef537f915f30ea8513c18f43d79733a5d47ac2.zip
Fix translation of title (closes #593)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index fd5bb5871..3e428999e 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -163,6 +163,9 @@ class GeneralType(models.Model):
def __unicode__(self):
return self.label
+ def short_label(self):
+ return self.label
+
@classmethod
def get_help(cls, dct={}, exclude=[]):
help_text = cls.HELP_TEXT