From 9abe734b83a03525fc63396a4af70dedc0a12817 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Wed, 1 Jun 2011 20:14:25 +0000 Subject: [PATCH] Fixed #16141 -- Fixed typos in new form wizard. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16309 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/formtools/wizard/views.py | 2 +- docs/ref/contrib/formtools/form-wizard.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/formtools/wizard/views.py b/django/contrib/formtools/wizard/views.py index c0f8b3b832..614837b34b 100644 --- a/django/contrib/formtools/wizard/views.py +++ b/django/contrib/formtools/wizard/views.py @@ -517,7 +517,7 @@ class WizardView(TemplateView): context['wizard'] = { 'form': form, 'steps': self.steps, - 'managenent_form': ManagementForm(prefix=self.prefix, initial={ + 'management_form': ManagementForm(prefix=self.prefix, initial={ 'current_step': self.steps.current, }), } diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt index 2434c8b2b7..44d29eebce 100644 --- a/docs/ref/contrib/formtools/form-wizard.txt +++ b/docs/ref/contrib/formtools/form-wizard.txt @@ -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. 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``::