mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.5.x] Fixed #19024 -- Corrected form wizard docs for get_form_prefix.
Backport of 17f8496fe from master.
This commit is contained in:
parent
fb130cb40e
commit
f16eb0b0d0
@ -318,11 +318,11 @@ Advanced ``WizardView`` methods
|
|||||||
counter as string representing the current step of the wizard. (E.g., the
|
counter as string representing the current step of the wizard. (E.g., the
|
||||||
first form is ``'0'`` and the second form is ``'1'``)
|
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
|
Given the step and the form class which will be called with the returned
|
||||||
the step itself. For more, see the :ref:`form prefix documentation
|
form prefix. By default, this simply uses the step itself.
|
||||||
<form-prefix>`.
|
For more, see the :ref:`form prefix documentation <form-prefix>`.
|
||||||
|
|
||||||
.. method:: WizardView.get_form_initial(step)
|
.. method:: WizardView.get_form_initial(step)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user