﻿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
29815	InlineModelAdmin ignores media files from widgets included in the used form	Sławomir Domagała	nobody	"I have


{{{
class OpenSelectMultiple(Widget):
    template_name = 'admin/forms/widgets/open_select.html'
    option_template_name = 'django/forms/widgets/select_option.html'

    class Media:
        css = ('1.css',)
        js = ('1.js', '2.js')

class OpenMultipleChoiceField(Field):
    hidden_widget = MultipleHiddenInput
    widget = OpenSelectMultiple
    ...

class NotificationFilterForm(forms.ModelForm):
    prefixes = OpenMultipleChoiceField(required=False)

class NotificationFilterInline(admin.TabularInline):
    extra = 0
    model = NotificationFilter
    form = NotificationFilterForm
}}}

Those files aren't included in the rendered page."	Bug	new	contrib.admin	2.0	Normal				Unreviewed	0	0	0	0	0	0
