summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-28 14:50:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-28 14:50:12 +0200
commit3eee5bac1748181d41d7abc32da1570a1fce6645 (patch)
tree2f2f39dfb5c185d8e8857b2f87bbeff6065bb321 /archaeological_context_records/models.py
parentf1366d27a7ccfcd2745aa0854f217941f6b2198c (diff)
downloadIshtar-3eee5bac1748181d41d7abc32da1570a1fce6645.tar.bz2
Ishtar-3eee5bac1748181d41d7abc32da1570a1fce6645.zip
Better management of cascade updates
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index ace66aed6..1b81f3b63 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -431,6 +431,7 @@ class ContextRecord(BulkUpdatedItem, DocumentItem, BaseHistorizedItem,
]
CACHED_LABELS = ['cached_label', 'cached_periods',
"cached_related_context_records"]
+ DOWN_MODEL_UPDATE = ["base_finds"]
history = HistoricalRecords(bases=[HistoryModel])
objects = ExternalIdManager()