diff options
| author | Cefin <kevon@tuta.io> | 2021-11-12 16:57:30 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 | 
| commit | 2ab34913d74ceeb7981d14170e982143c2a69ef8 (patch) | |
| tree | 9dff9f2d3a60c96dbb2832ef161631a62be66037 | |
| parent | 14ac10cbfb5be471c4e59d8a5f020803ab8ebb81 (diff) | |
| download | Ishtar-2ab34913d74ceeb7981d14170e982143c2a69ef8.tar.bz2 Ishtar-2ab34913d74ceeb7981d14170e982143c2a69ef8.zip | |
adding archeological site on context record bulk update
#5208
| -rw-r--r-- | archaeological_context_records/forms.py | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index a7f9347be..55ea7fd5c 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -705,6 +705,7 @@ class QAContextRecordFormMulti(QAForm):      REPLACE_FIELDS = [          "qa_unit",          "qa_town", +        "qa_archaeological_site",      ]      MULTI = True @@ -729,6 +730,14 @@ class QAContextRecordFormMulti(QAForm):          ),          required=False,      ) +    qa_archaeological_site = forms.IntegerField( +        label=_("Archaeological site"), +        widget=widgets.JQueryAutoComplete( +            reverse_lazy("autocomplete-archaeologicalsite"), +            associated_model=ArchaeologicalSite, +        ), +        required=False +    )      TYPES = [          FieldType("qa_relation_type", models.RelationType), | 
