diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-05-31 19:24:28 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-05-31 19:24:28 +0200 |
commit | 9de9c530fe7e48379f0ba0d49ca8e576975728bc (patch) | |
tree | 44312eee59680ac8674fa488fa1a17789ca2a3d3 /archaeological_finds | |
parent | 9958b0ffff228561b2ed36a1e9e9db2585f57e21 (diff) | |
download | Ishtar-9de9c530fe7e48379f0ba0d49ca8e576975728bc.tar.bz2 Ishtar-9de9c530fe7e48379f0ba0d49ca8e576975728bc.zip |
Widget: add a restore button on inadequate clean of a value
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index ac58780f0..5614118ec 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -101,7 +101,7 @@ class RecordFormSelection(CustomForm, forms.Form): base_models = ['get_first_base_find'] associated_models = {'get_first_base_find__context_record': ContextRecord} get_first_base_find__context_record = forms.IntegerField( - label=_(u"Context record"), required=False, + label=_(u"Context record"), widget=widgets.JQueryAutoComplete( reverse_lazy('autocomplete-contextrecord'), associated_model=ContextRecord), |