summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVishal Lal <vish61@gmail.com>2014-04-02 06:14:47 +0000
committerTim Graham <timograham@gmail.com>2014-04-03 08:25:11 -0400
commita8e2ec0e82aaebfa53a8074581b22849896537df (patch)
treec158146a3893d2b7c09bf293993ac37d04617c35 /docs
parentd73d0e071c1b4c86d57994a0ab55a74cfe80cdf5 (diff)
Fixed #22372 -- Improved description of WizardView.get_context_data().
Thanks simon29 for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/formtools/form-wizard.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt
index 054c027ea8..7cb39b498d 100644
--- a/docs/ref/contrib/formtools/form-wizard.txt
+++ b/docs/ref/contrib/formtools/form-wizard.txt
@@ -401,8 +401,13 @@ Advanced ``WizardView`` methods
The default template context variables are:
* Any extra data the storage backend has stored
- * ``form`` -- form instance of the current step
- * ``wizard`` -- the wizard instance itself
+ * ``wizard`` -- a dictionary representation of the wizard instance with the
+ following key/values:
+
+ * ``form`` -- :class:`~django.forms.Form` or
+ :class:`~django.forms.formsets.BaseFormSet` instance for the current step
+ * ``steps`` -- A helper object to access the various steps related data
+ * ``management_form`` -- all the management data for the current step
Example to add extra variables for a specific step::