summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStephan Jaekel <steph@rdev.info>2013-01-12 12:20:18 +0100
committerClaude Paroz <claude@2xlibre.net>2013-01-12 15:55:42 +0100
commitf16eb0b0d049595f837005986b1db539528fef2f (patch)
treecffcb962ca67cd152d7494b31e6e7e849773d1c6 /docs
parentfb130cb40ea9b93bae741a4f359f19819597a112 (diff)
[1.5.x] Fixed #19024 -- Corrected form wizard docs for get_form_prefix.
Backport of 17f8496fe from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/formtools/form-wizard.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt
index 9ea65d7e5f..8cd5d4ecd3 100644
--- a/docs/ref/contrib/formtools/form-wizard.txt
+++ b/docs/ref/contrib/formtools/form-wizard.txt
@@ -318,11 +318,11 @@ Advanced ``WizardView`` methods
counter as string representing the current step of the wizard. (E.g., the
first form is ``'0'`` and the second form is ``'1'``)
-.. method:: WizardView.get_form_prefix(step)
+.. method:: WizardView.get_form_prefix(step, form)
- Given the step, returns a form prefix to use. By default, this simply uses
- the step itself. For more, see the :ref:`form prefix documentation
- <form-prefix>`.
+ Given the step and the form class which will be called with the returned
+ form prefix. By default, this simply uses the step itself.
+ For more, see the :ref:`form prefix documentation <form-prefix>`.
.. method:: WizardView.get_form_initial(step)