summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 14b9849e1..88ad3009a 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -456,6 +456,10 @@ class GeneralType(Cached, models.Model):
def short_label(self):
return self.label
+ @property
+ def name(self):
+ return self.label
+
@classmethod
def get_or_create(cls, slug, label=''):
"""