diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2014-12-22 12:55:56 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-05-06 15:34:36 +0200 |
commit | ee6a1eb3588da3c6c1c3f0e75691541cea2d37ab (patch) | |
tree | 0d369c66f0fb06db3d99e55523623468db02d619 /archaeological_operations/forms.py | |
parent | 35b163e7626a0f556ad32b303c1b9fa94cdf1d3e (diff) | |
download | Ishtar-ee6a1eb3588da3c6c1c3f0e75691541cea2d37ab.tar.bz2 Ishtar-ee6a1eb3588da3c6c1c3f0e75691541cea2d37ab.zip |
Workon alternate administrativ wizard
* reorganization of address fields
* add a main town field
* reorganize parcel wizard
* workon new administrativ wizard
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 1a09b66b4..2852db79f 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -89,7 +89,7 @@ class ParcelForm(forms.Form): kwargs.pop('files') super(ParcelForm, self).__init__(*args, **kwargs) if towns: - self.fields['town'].choices = [('', '--')] + towns + self.fields['town'].choices = towns def clean(self): """Check required fields""" |