summaryrefslogtreecommitdiff
path: root/archaeological_operations
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
commit70c8869513d947dc58cc91bfb0c89773dc846ca3 (patch)
treea2d4b4ca66bfb77ff0e34d5b46a8dd8b7e56a90b /archaeological_operations
parent6f463a1473845cf8374d160630321cb748935331 (diff)
downloadIshtar-70c8869513d947dc58cc91bfb0c89773dc846ca3.tar.bz2
Ishtar-70c8869513d947dc58cc91bfb0c89773dc846ca3.zip
add cultural attributions on bulk update on EA search #5175
Diffstat (limited to 'archaeological_operations')
-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: