summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/models.py')
-rw-r--r--archaeological_warehouse/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py
index 3b157ee0c..3e2b87551 100644
--- a/archaeological_warehouse/models.py
+++ b/archaeological_warehouse/models.py
@@ -321,6 +321,8 @@ post_delete.connect(post_save_cache, sender=ContainerType)
class Container(LightHistorizedItem, ImageModel, OwnPerms):
+ SLUG = 'container'
+ SHOW_URL = 'show-container'
TABLE_COLS = ['reference', 'container_type__label', 'cached_location',
'cached_division', 'old_reference']
IMAGE_PREFIX = 'containers/'
@@ -344,7 +346,6 @@ class Container(LightHistorizedItem, ImageModel, OwnPerms):
'finds': 'finds',
'container_type__label': 'container_type__label',
}
- SHOW_URL = 'show-container'
COL_LABELS = {
'cached_location': _(u"Location - index"),
'cached_division': _(u"Precise localisation"),