summaryrefslogtreecommitdiff
path: root/archaeological_finds/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2016-01-10 15:35:51 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2016-01-10 15:35:51 +0100
commit11d7e76203e13a6d4c2a0c9aa29bd2d1dd86f5b6 (patch)
tree8d8e7c09faf179b2fed07878d1cf450a245a78d0 /archaeological_finds/models.py
parent19fcd922361b045894c0eeb56e095d785299909e (diff)
parent2c063aace94e5a9f3b5dc596e4a502ef062db059 (diff)
downloadIshtar-11d7e76203e13a6d4c2a0c9aa29bd2d1dd86f5b6.tar.bz2
Ishtar-11d7e76203e13a6d4c2a0c9aa29bd2d1dd86f5b6.zip
Merge branch 'master' into master-land-planner-2999
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r--archaeological_finds/models.py3
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")