summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index a94421ada..6a08e2f84 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -158,6 +158,10 @@ class ContextRecord(BaseHistorizedItem, OwnPerms, ShortMenuItem):
)
@property
+ def name(self):
+ return self.label or ""
+
+ @property
def short_class_name(self):
return pgettext("short", u"Context record")