Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.5.x] Fixed #19024 -- Corrected form wizard docs for get_form_prefix.

Backport of 17f8496 from master.
  • Loading branch information...
commit f16eb0b0d049595f837005986b1db539528fef2f 1 parent fb130cb
@stephrdev stephrdev authored claudep committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/ref/contrib/formtools/form-wizard.txt
View
8 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)
Please sign in to comment.
Something went wrong with that request. Please try again.