summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-11-02 17:34:08 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:58:49 +0200
commit204adc785fa05ba783ffb3053c1b2598004c8ac5 (patch)
treea2d4b4ca66bfb77ff0e34d5b46a8dd8b7e56a90b
parent5894588fb972a7b3a81bc427f6490677c0c0ba94 (diff)
downloadIshtar-204adc785fa05ba783ffb3053c1b2598004c8ac5.tar.bz2
Ishtar-204adc785fa05ba783ffb3053c1b2598004c8ac5.zip
add cultural attributions on bulk update on EA search #5175
-rw-r--r--archaeological_operations/forms.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 3cb01f595..3494c29fc 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -2032,6 +2032,14 @@ class QAArchaeologicalSiteFormMulti(QAForm):
reverse_lazy('autocomplete-person')
),
)
+ qa_cultural_attributions = forms.ChoiceField(
+ label=_("Cultural attributions"),
+ choices=[]
+ )
+
+ TYPES = [
+ FieldType('qa_cultural_attributions', models.CulturalAttributionType),
+ ]
def _get_qa_towns(self, value):
try: