﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19880	form-wizard initial data example is wrong	almalki	nobody	"In this [https://docs.djangoproject.com/en/1.4/ref/contrib/formtools/form-wizard/#providing-initial-data-for-the-forms example] there is a small error, basically it is calling as_view and then call methods on the returned function.


{{{
>>> wiz = ContactWizard.as_view([ContactForm1, ContactForm2], initial_dict=initial)
>>> form1 = wiz.get_form('0')
}}}

should be:

{{{
>>> wiz = ContactWizard([ContactForm1, ContactForm2], initial_dict=initial)
>>> form1 = wiz.get_form('0')
}}}


(assuming {{{ __init__ }}} takes same arguments as as_view)"	Bug	closed	Documentation	dev	Normal	fixed	form-wizard formwizard wizard		Accepted	1	0	0	0	1	0
