diff options
Diffstat (limited to 'archaeological_files/forms.py')
-rw-r--r-- | archaeological_files/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index d5e94fb48..48ed874ff 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -222,14 +222,14 @@ class FileFormResearch(forms.Form): args=["_".join( [unicode(PersonType.objects.get(txt_idx='head_scientist').pk), unicode(PersonType.objects.get(txt_idx='sra_agent').pk)])]), - associated_model=Person), label=_(u"Scientist in charge")) + associated_model=Person, new=True), label=_(u"Scientist in charge")) requested_operation_type = forms.ChoiceField( label=_(u"Requested operation type"), choices=[]) organization = forms.IntegerField(label=_(u"Lead organization"), widget=widgets.JQueryAutoComplete( reverse_lazy('autocomplete-organization'), - associated_model=Organization), + associated_model=Organization, new=True), validators=[valid_id(Organization)], required=False) if settings.COUNTRY == 'fr': cira_advised = forms.NullBooleanField(label=u"Passage en CIRA", |