summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-11-02 17:34:08 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-16 17:04:41 +0100
commit59cd273e9b7f530320dd6bf3377c5d60bf5195da (patch)
treeb326ce75a0912fa39c154d0c3a5edb4ca8132a8b /archaeological_operations/forms.py
parent6d2002a1276f241db74678610f5a5b4836710bdd (diff)
downloadIshtar-59cd273e9b7f530320dd6bf3377c5d60bf5195da.tar.bz2
Ishtar-59cd273e9b7f530320dd6bf3377c5d60bf5195da.zip
add cultural attributions on bulk update on EA search #5175
Diffstat (limited to 'archaeological_operations/forms.py')
-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 a7d19c7ff..fc915c123 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: