diff options
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 |
commit | 76b9e9268426812800829a522b3adb89f97a7dc6 (patch) | |
tree | 55798a74a2c603a06fe38cbb6e1ad9d69bf4b9eb /archaeological_context_records/models.py | |
parent | 39bb02a38920b1fe0094365e261acd57f814f97d (diff) | |
download | Ishtar-76b9e9268426812800829a522b3adb89f97a7dc6.tar.bz2 Ishtar-76b9e9268426812800829a522b3adb89f97a7dc6.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.py | 1 |
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'), |