summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-01-29 00:43:20 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-01-29 00:43:20 +0100
commite5f4fd5bc800695d335456ca2103fbbe650ce890 (patch)
tree48605e15c495926db24b34a9926a05d19ce3cfbd /archaeological_context_records/models.py
parent61a55f5f530f5d5f974218f88015ff4c0ac191cc (diff)
downloadIshtar-e5f4fd5bc800695d335456ca2103fbbe650ce890.tar.bz2
Ishtar-e5f4fd5bc800695d335456ca2103fbbe650ce890.zip
Fix Bibratce Import - Fix context record window
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")