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 | 16fbb32b8ba00325a7b813825f288cb097699c98 (patch) | |
tree | 0d369c66f0fb06db3d99e55523623468db02d619 /archaeological_operations/forms.py | |
parent | 6dfd3fcc84950ac8a86824fad7b0e9acb407091e (diff) | |
download | Ishtar-16fbb32b8ba00325a7b813825f288cb097699c98.tar.bz2 Ishtar-16fbb32b8ba00325a7b813825f288cb097699c98.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""" |