diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-03-16 18:15:49 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-03-16 18:15:49 +0100 |
commit | a6577b52e30fe9c1aa5145e23fc31c01ce6a7aa8 (patch) | |
tree | 19b6475f6bd425b0c20964b073904839bc317fc0 | |
parent | f214193d757a368315ba0c6a1c6c6c30c30729b4 (diff) | |
download | Ishtar-a6577b52e30fe9c1aa5145e23fc31c01ce6a7aa8.tar.bz2 Ishtar-a6577b52e30fe9c1aa5145e23fc31c01ce6a7aa8.zip |
Correct operation modification (closes #284)
-rw-r--r-- | ishtar/furnitures/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
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)]) |