﻿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
17153	WizardView including media is not documented	Bradley Ayers <bradley.ayers@…>	nobody	"With the old django-formtools, there was some example code for including media of the wizard which was something like this:

{{{
{% if wizard.form.forms %}
{% for form in wizard.form.forms %}
{{ form.media }}
{% endfor %}
{% else %}
{{ wizard.form.media }}
{% endif %}
}}}

This was actually misleading (and bad). From what I can tell the `for` loop appears to be there to handle formsets, however formsets always have the same forms in them, so printing the media for each form in a formset would just result in duplicate output.

Instead the example should have been:

{{{
{{ wizard.form.media }}
}}}

I'd like to see this documented in the Wizard form documentation (perhaps just in the ""full template example"" section)."	Cleanup/optimization	closed	contrib.formtools	dev	Normal	duplicate			Unreviewed	0	0	0	0	1	0
