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 13978 Allow inline js/css in forms.Media Nathan Reynolds Derek Payton "It's not possible to use the Media class for inline Javascript or CSS content, though this is often useful when bootstrapping external scripts. Widgets can include inline content in their render method, but ModelAdmin's appear to be out of luck. I've attached a patch to allow inline content, e.g: {{{ @property def media(self): return forms.Media( js=(forms.Media.Inline('alert(""Test"")'),), css={ 'all': (forms.Media.Inline('body { background: black }'),), } ) }}}" New feature closed Forms dev Normal wontfix sprintdec2010 Accepted 1 0 0 1 0 0