diff --git a/django/contrib/formtools/wizard/views.py b/django/contrib/formtools/wizard/views.py
index ea41e86..39acecb 100644
|
a
|
b
|
class WizardView(TemplateView):
|
| 331 | 331 | self.storage.reset() |
| 332 | 332 | return done_response |
| 333 | 333 | |
| 334 | | def get_form_prefix(self, step=None, form=None): |
| | 334 | def get_form_prefix(self, step=None): |
| 335 | 335 | """ |
| 336 | 336 | Returns the prefix which will be used when calling the actual form for |
| 337 | | the given step. `step` contains the step-name, `form` the form which |
| 338 | | will be called with the returned prefix. |
| | 337 | the given step. `step` contains the step-name. |
| 339 | 338 | |
| 340 | 339 | If no step is given, the form_prefix will determine the current step |
| 341 | 340 | automatically. |
| … |
… |
class WizardView(TemplateView):
|
| 383 | 382 | kwargs.update({ |
| 384 | 383 | 'data': data, |
| 385 | 384 | 'files': files, |
| 386 | | 'prefix': self.get_form_prefix(step, self.form_list[step]), |
| | 385 | 'prefix': self.get_form_prefix(step), |
| 387 | 386 | 'initial': self.get_form_initial(step), |
| 388 | 387 | }) |
| 389 | 388 | if issubclass(self.form_list[step], forms.ModelForm): |