summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-26 11:04:17 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-26 11:04:17 +0200
commit307e1a0de31963584d1916ca1f8c7eb0e50ebe6a (patch)
treeab7e1fc5ff12f289fd62133b1d638ddc22429335 /archaeological_finds/models_treatments.py
parent707e0f9edcde92c47cd543325187e9e13b9ef43f (diff)
downloadIshtar-307e1a0de31963584d1916ca1f8c7eb0e50ebe6a.tar.bz2
Ishtar-307e1a0de31963584d1916ca1f8c7eb0e50ebe6a.zip
🐛 templates: add missing m2m values
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index eb149b0de..168c87e2f 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -196,6 +196,7 @@ class Treatment(
SearchVectorConfig("upstream__cached_label"),
]
PARENT_SEARCH_VECTORS = ["person", "organization"]
+ GET_VALUES_M2M = ["treatment_types"]
objects = ExternalIdManager()
label = models.CharField(_("Label"), blank=True, null=True, max_length=200)