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 | 03236c52592cb90eee2658dd505c056497d8a028 (patch) | |
| tree | 79e085ce282b4e286295d2348d98e464c542555b | |
| parent | ae2ad5289216baa604cf5b1ea6988410f64499b6 (diff) | |
| download | Ishtar-03236c52592cb90eee2658dd505c056497d8a028.tar.bz2 Ishtar-03236c52592cb90eee2658dd505c056497d8a028.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( |
