Fixed #16141 -- Fixed typos in new form wizard.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-06-01 20:14:25 +00:00
parent 60cf3f2f84
commit 9abe734b83
2 changed files with 2 additions and 2 deletions

View File

@ -517,7 +517,7 @@ class WizardView(TemplateView):
context['wizard'] = { context['wizard'] = {
'form': form, 'form': form,
'steps': self.steps, 'steps': self.steps,
'managenent_form': ManagementForm(prefix=self.prefix, initial={ 'management_form': ManagementForm(prefix=self.prefix, initial={
'current_step': self.steps.current, 'current_step': self.steps.current,
}), }),
} }

View File

@ -481,7 +481,7 @@ If the value of a specific step is callable it will be called with the
the step's form will be used. the step's form will be used.
This example provides a contact form including a condition. The condition is This example provides a contact form including a condition. The condition is
used to show a message from only if a checkbox in the first step was checked. used to show a message form only if a checkbox in the first step was checked.
The steps are defined in a ``forms.py``:: The steps are defined in a ``forms.py``::