﻿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
21221	Widgets and Admin's Media should use the configured staticfiles storage to create the right path to a file	Guilherme Gondim <semente@…>	Johannes Maron	"Taking for example the following widget snippet:

{{{
class Editor(widgets.Textarea):   

    class Media:
        js = ('editor/editor.js',)
        css = {'all': ('editor/editor.css',)}
}}}

When using CachedFilesMixin, from the staticfiles contrib app, the right path to the media file should be the one with the hash suffix but what we got is just a concatenation of STATIC_URL and the relative path of the media file.
"	New feature	closed	contrib.staticfiles	1.5	Normal	fixed	staticfiles, admin, CachedFilesMixin, media, widgets	maxime.lorant@… info@… cmawebsite@…	Ready for checkin	1	0	0	0	0	0
