diff --git a/formtools/wizard/storage/base.py b/formtools/wizard/storage/base.py index 6c155e0..2f73e76 100644 --- a/formtools/wizard/storage/base.py +++ b/formtools/wizard/storage/base.py @@ -70,8 +70,8 @@ class BaseStorage(object): if wizard_files and not self.file_storage: raise NoFileStorageConfigured( - "You need to define 'file_storage' in your " - "wizard view in order to handle file uploads.") + "You need to define 'file_storage' in your " + "wizard view in order to handle file uploads.") files = {} for field, field_dict in six.iteritems(wizard_files): @@ -84,8 +84,8 @@ class BaseStorage(object): def set_step_files(self, step, files): if files and not self.file_storage: raise NoFileStorageConfigured( - "You need to define 'file_storage' in your " - "wizard view in order to handle file uploads.") + "You need to define 'file_storage' in your " + "wizard view in order to handle file uploads.") if step not in self.data[self.step_files_key]: self.data[self.step_files_key][step] = {} diff --git a/formtools/wizard/views.py b/formtools/wizard/views.py index a23a56a..f1c54f5 100644 --- a/formtools/wizard/views.py +++ b/formtools/wizard/views.py @@ -184,8 +184,8 @@ class WizardView(TemplateView): if (isinstance(field, forms.FileField) and not hasattr(cls, 'file_storage')): raise NoFileStorageConfigured( - "You need to define 'file_storage' in your " - "wizard view in order to handle file uploads.") + "You need to define 'file_storage' in your " + "wizard view in order to handle file uploads.") # build the kwargs for the wizardview instances kwargs['form_list'] = computed_form_list