summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-12-29 19:17:06 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-12-29 19:17:06 +0100
commitb8d84f2e1014cd09d7820fbb0650d5d089fe3919 (patch)
tree4ded02e0b70766bc41cf11a377c2ffb7aeb328c6 /archaeological_context_records/models.py
parent73b91b53f95859450f4be9a8a5035909eed213dc (diff)
downloadIshtar-b8d84f2e1014cd09d7820fbb0650d5d089fe3919.tar.bz2
Ishtar-b8d84f2e1014cd09d7820fbb0650d5d089fe3919.zip
Add sheets for context record source and find source
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 6fc950f52..52d976cfd 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -106,6 +106,7 @@ class IdentificationType(GeneralType):
class ContextRecord(BaseHistorizedItem, OwnPerms, ShortMenuItem):
+ SHOW_URL = 'show-contextrecord'
TABLE_COLS = ['parcel.town', 'operation.year',
'operation.operation_code',
'label', 'unit']
@@ -311,6 +312,8 @@ post_delete.connect(post_delete_record_relation, sender=RecordRelations)
class ContextRecordSource(Source):
+ SHOW_URL = 'show-contextrecordsource'
+
class Meta:
verbose_name = _(u"Context record documentation")
verbose_name_plural = _(u"Context record documentations")