From 2603bf6c4b267bfb0d07701688ccda80cbef8f80 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 16 Mar 2011 18:15:49 +0100 Subject: Correct operation modification (closes #284) --- ishtar/furnitures/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py index 414b0b1de..c79d70346 100644 --- a/ishtar/furnitures/forms.py +++ b/ishtar/furnitures/forms.py @@ -862,6 +862,7 @@ TownFormSet.form_label = _("Towns") class ParcelForm(forms.Form): form_label = _("Parcels") + base_model = 'parcel' associated_models = {'parcel':models.Parcel, 'town':models.Town} town = forms.ChoiceField(label=_("Town"), choices=(), required=False, validators=[models.valid_id(models.Town)]) -- cgit v1.2.3