﻿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
29437	Formset.media collect Form.Media and Field.widget.media not correct	Maxim Danilov	nobody	"in Django.forms.formsets.py (django 1.9)

{{{
@property
    def media(self):
        # All the forms on a FormSet are the same, so you only need to interrogate the first form for media.
        if self.forms:
            return self.forms[0].media
        else:
            return self.empty_form.media
}}}

But formset have 3 types of form: 
1.bound from for existed objects. 
2.unbound from for new objects.
3.the empty form for JS ""add new row"".

All of them are NOT the same.
The every Form can have own fields.widget and field.widget.media

i think, we should make a possibility, to add a some media in form.init

Or we should collect media in the form.init moment. Not after. Not one time for one form.
"	Bug	closed	Forms		Normal	wontfix			Unreviewed	0	0	0	0	0	0
