diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-11 16:24:17 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-11 16:24:17 +0100 |
commit | f6d282bd88ef69501b0a01791e7a1eee22cb1a5b (patch) | |
tree | 79e085ce282b4e286295d2348d98e464c542555b | |
parent | ee1d449d59c58713b3da38e6024c04af79681e3b (diff) | |
download | Ishtar-f6d282bd88ef69501b0a01791e7a1eee22cb1a5b.tar.bz2 Ishtar-f6d282bd88ef69501b0a01791e7a1eee22cb1a5b.zip |
Correct save of the person in charge of archaelogical file (closes #80)
-rw-r--r-- | ishtar/furnitures/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py index 800e85e8c..8d5ee6c91 100644 --- a/ishtar/furnitures/forms.py +++ b/ishtar/furnitures/forms.py @@ -560,7 +560,7 @@ ParcelFormSet.form_label = _("Parcels") class FileFormPreventive(forms.Form): form_label = _("Preventive informations") - associated_models = {'general_contractor':models.Organization, + associated_models = {'general_contractor':models.Person, 'saisine_type':models.SaisineType} general_contractor = forms.IntegerField(label=_(u"General contractor"), widget=widgets.JQueryAutoComplete( |