diff options
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 |
commit | b8d84f2e1014cd09d7820fbb0650d5d089fe3919 (patch) | |
tree | 4ded02e0b70766bc41cf11a377c2ffb7aeb328c6 /archaeological_finds/models.py | |
parent | 73b91b53f95859450f4be9a8a5035909eed213dc (diff) | |
download | Ishtar-b8d84f2e1014cd09d7820fbb0650d5d089fe3919.tar.bz2 Ishtar-b8d84f2e1014cd09d7820fbb0650d5d089fe3919.zip |
Add sheets for context record source and find source
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r-- | archaeological_finds/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py index 32b4334ff..f677b1297 100644 --- a/archaeological_finds/models.py +++ b/archaeological_finds/models.py @@ -246,6 +246,7 @@ CHECK_CHOICES = (('NC', _(u"Not checked")), class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem): CHECK_DICT = dict(CHECK_CHOICES) + SHOW_URL = 'show-find' TABLE_COLS = ['label', 'material_types', 'datings.period', 'base_finds.context_record.parcel.town', 'base_finds.context_record.operation.year', @@ -533,6 +534,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem): class FindSource(Source): + SHOW_URL = 'show-findsource' + class Meta: verbose_name = _(u"Find documentation") verbose_name_plural = _(u"Find documentations") |