﻿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
4792	Serving Static Files Documentation	johnwyand@…	Jacob	"The serving static files documentation [http://www.djangoproject.com/documentation/static_files/ here] doesn't mention that the pattern to be added to Urlconf has to be placed as the first pattern.

Examples:

{{{
#Won't work:
urlpatterns = patterns('',
    (r'^/articles/2003/$', 'news.views.special_case_2003'),
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/media'}),
)

#Will work:
urlpatterns = patterns('',
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/media'}),
    (r'^/articles/2003/$', 'news.views.special_case_2003'),
)
}}}
"		closed	Documentation	dev		invalid	static files		Unreviewed	0	0	0	0	0	0
