summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 6f324e6de..b9c00e1cd 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -4782,6 +4782,7 @@ class Document(
# order is important: put the image in the first match found
# other will be symbolic links
RELATED_MODELS = [
+ "statement_conditions",
"exhibitions",
"treatment_files",
"treatments",
@@ -4809,6 +4810,7 @@ class Document(
"exhibitions",
"treatments",
"treatment_files",
+ "statement_conditions",
"towns",
"areas",
]
@@ -4831,6 +4833,8 @@ class Document(
"treatment_files__pk"),
(("archaeological_finds", "treatment"),
"treatments__pk"),
+ (("archaeological_finds", "statementcondition"),
+ "statement_conditions__pk"),
(("archaeological_warehouse", "warehouse"),
"warehouses__pk"),
(("archaeological_warehouse", "container"),
@@ -4845,6 +4849,7 @@ class Document(
"treatments",
"exhibitions",
"files",
+ "statement_conditions",
"treatment_files",
"administrativeacts",
"id",
@@ -5166,6 +5171,7 @@ class Document(
("warehouse", "warehouses__pk"),
("treatment", "treatments__pk"),
("treatmentfile", "treatment_files__pk"),
+ ("statementcondition", "statement_conditions__pk"),
("exhibition", "exhibitions__pk"),
("administrativeact", "administrativeacts__pk"),
]