Fixed #8567 -- Clarified the process of instantiating FormWizards. Thanks to ClaesBas for the suggestion, and ElliotM and timo for draft text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bafe9fdef2
commit
5d1627ff6e
|
@ -189,8 +189,10 @@ for the wizard to work properly.
|
||||||
Hooking the wizard into a URLconf
|
Hooking the wizard into a URLconf
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
Finally, give your new :class:`FormWizard` object a URL in ``urls.py``. The
|
Finally, we need to specify which forms to use in the wizard, and then
|
||||||
wizard takes a list of your :class:`~django.forms.Form` objects as arguments::
|
deploy the new :class:`FormWizard` object a URL in ``urls.py``. The
|
||||||
|
wizard takes a list of your :class:`~django.forms.Form` objects as
|
||||||
|
arguments when you instantiate the Wizard::
|
||||||
|
|
||||||
from django.conf.urls.defaults import *
|
from django.conf.urls.defaults import *
|
||||||
from mysite.testapp.forms import ContactForm1, ContactForm2, ContactWizard
|
from mysite.testapp.forms import ContactForm1, ContactForm2, ContactWizard
|
||||||
|
|
Loading…
Reference in New Issue