diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-02-11 11:37:03 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-02-11 11:37:03 +0100 |
commit | c70c2c8f4f58436df8d1c694a74c457954bd1070 (patch) | |
tree | e521bfdf3e7377954d2cfd7a1647106d74a402e1 /chimere/forms.py | |
parent | 3c779a01f8320bb833ed95eb871c20e988a4b026 (diff) | |
download | Chimère-c70c2c8f4f58436df8d1c694a74c457954bd1070.tar.bz2 Chimère-c70c2c8f4f58436df8d1c694a74c457954bd1070.zip |
Manage XML-XSLT import
Diffstat (limited to 'chimere/forms.py')
-rw-r--r-- | chimere/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/forms.py b/chimere/forms.py index 1ba90a0..a57fe87 100644 --- a/chimere/forms.py +++ b/chimere/forms.py @@ -165,7 +165,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 " |