1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Corrected the instance_dict description for form wizards.

This commit is contained in:
Florian Apolloner
2012-06-22 15:43:57 +02:00
parent 6bc1b22299
commit 7f225880e4
2 changed files with 5 additions and 5 deletions

View File

@@ -554,9 +554,8 @@ How to work with ModelForm and ModelFormSet
WizardView supports :doc:`ModelForms </topics/forms/modelforms>` and
:ref:`ModelFormSets <model-formsets>`. Additionally to
:attr:`~WizardView.initial_dict`, the :meth:`~WizardView.as_view` method takes
an ``instance_dict`` argument that should contain instances of ``ModelForm`` and
``ModelFormSet``. Similarly to :attr:`~WizardView.initial_dict`, these
dictionary key values should be equal to the step number in the form list.
an ``instance_dict`` argument that should contain model instances for steps
based on ``ModelForm`` and querysets for steps based on ``ModelFormSet``.
Usage of ``NamedUrlWizardView``
===============================