summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-07 00:17:47 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-07 00:17:47 +0200
commit8a8a4393007a17c5accf52cfc481aee2a473eb6a (patch)
treeaa00dfd71c3f156175de6bbfb37edf32d3d62c8b /archaeological_finds/models_finds.py
parent414dd4445e96cb6c5ccbaca0d831fb4b418cd036 (diff)
downloadIshtar-8a8a4393007a17c5accf52cfc481aee2a473eb6a.tar.bz2
Ishtar-8a8a4393007a17c5accf52cfc481aee2a473eb6a.zip
Documentation generation: add some variables to treatments (refs #3586)
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 52601c896..d33933264 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -31,7 +31,7 @@ from ishtar_common.utils import cached_label_changed, post_save_point
from ishtar_common.models import GeneralType, ImageModel, BaseHistorizedItem, \
ShortMenuItem, LightHistorizedItem, HistoricalRecords, OwnPerms, Source, \
- Person, Basket, get_external_id, post_save_cache
+ Person, Basket, get_external_id, post_save_cache, ValueGetter
from archaeological_operations.models import AdministrativeAct
from archaeological_context_records.models import ContextRecord, Dating
@@ -490,7 +490,8 @@ class FBulkView(object):
"""
-class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
+class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms,
+ ShortMenuItem):
CHECK_DICT = dict(CHECK_CHOICES)
SHOW_URL = 'show-find'
SLUG = 'find'