summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-07-09 13:40:04 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-07-09 13:40:04 +0200
commit0dc5a4607b54a95f0fc04cb0bb20c152180c44ae (patch)
tree55798a74a2c603a06fe38cbb6e1ad9d69bf4b9eb /archaeological_context_records/models.py
parente96307ce15ee1315116dbaa63e825fc4f0d8c586 (diff)
downloadIshtar-0dc5a4607b54a95f0fc04cb0bb20c152180c44ae.tar.bz2
Ishtar-0dc5a4607b54a95f0fc04cb0bb20c152180c44ae.zip
Graph generation: fix non full generation with changing relation type - attach full to upper item
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 1b81f3b63..b0e72c4a1 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -421,6 +421,7 @@ class ContextRecord(BulkUpdatedItem, DocumentItem, BaseHistorizedItem,
pgettext_lazy("key for text search", "site"),
'cached_label'),
}
+ MAIN_UP_MODEL_QUERY = "operation"
RELATIVE_SESSION_NAMES = [
('operation', 'operation__pk'),
('site', 'archaeological_site__pk'),