summaryrefslogtreecommitdiff
path: root/chimere/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-02-11 18:07:03 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-02-11 18:07:03 +0100
commitee58fc47a79779c5b712fafb19207664e9171e68 (patch)
tree828d1f1a167f32d09eea0dde555df1bc7aec805c /chimere/forms.py
parentc481c44e52175f16571654bc9948d3e14097badb (diff)
parentec824db12597389c87184497796e8d0763c80b51 (diff)
downloadChimère-ee58fc47a79779c5b712fafb19207664e9171e68.tar.bz2
Chimère-ee58fc47a79779c5b712fafb19207664e9171e68.zip
Merge branch 'v2.1' into v2.2
Diffstat (limited to 'chimere/forms.py')
-rw-r--r--chimere/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/forms.py b/chimere/forms.py
index 618b529..aae86c6 100644
--- a/chimere/forms.py
+++ b/chimere/forms.py
@@ -169,7 +169,7 @@ class ImporterAdminForm(forms.ModelForm):
not self.cleaned_data.get('zipped'):
raise forms.ValidationError(_(u"Shapefiles must be provided in a "\
u"zipped archive."))
- if self.cleaned_data.get('importer_type') != 'XSLT' and \
+ if self.cleaned_data.get('importer_type') not in ('XSLT', 'XXLT') and \
self.cleaned_data.get('source') and \
self.cleaned_data.get('source_file'):
raise forms.ValidationError(_(u"You have to set \"source\" or "