﻿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
16467	Little typo in the Formset docu	hannes.hapke@…	teraom	"Is it possible that the example regarding ""Using initial data with a formset"" has too many brackets?


{{{
>>> formset = ArticleFormSet(initial=[
...     {'title': u'Django is now open source',
...      'pub_date': datetime.date.today()},
... ])
}}}


could it be ... (above did knot work for me)

{{{
>>> formset = ArticleFormSet(initial={
...     'title': u'Django is now open source',
...     'pub_date': datetime.date.today(),
... })
}}}


With the inital example I get the error msg:

{{{
dictionary update sequence element #0 has length 5; 2 is required
}}}


Just a thought.

Best regards, 
Hannes
"	Cleanup/optimization	closed	Documentation	1.3	Normal	fixed	form inital value		Ready for checkin	1	0	0	0	0	0
