From f16eb0b0d049595f837005986b1db539528fef2f Mon Sep 17 00:00:00 2001 From: Stephan Jaekel Date: Sat, 12 Jan 2013 12:20:18 +0100 Subject: [PATCH] [1.5.x] Fixed #19024 -- Corrected form wizard docs for get_form_prefix. Backport of 17f8496fe from master. --- docs/ref/contrib/formtools/form-wizard.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt index 9ea65d7e5f9..8cd5d4ecd3c 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 - `. + 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 `. .. method:: WizardView.get_form_initial(step)