summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-06-01 20:14:25 +0000
committerJannis Leidel <jannis@leidel.info>2011-06-01 20:14:25 +0000
commit9abe734b83a03525fc63396a4af70dedc0a12817 (patch)
treebc9107a685ea444bcf1af99fff203124934fded1
parent60cf3f2f842b6e56132b8880c70acc87bd753c2e (diff)
Fixed #16141 -- Fixed typos in new form wizard.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/formtools/wizard/views.py2
-rw-r--r--docs/ref/contrib/formtools/form-wizard.txt2
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``::