﻿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
10054	Naming issue with static files in standard urlpattern	thomas.m.magee@…	nobody	"I am using Django 1.0.2.

The Django book suggests that django users put the following in their urlconf to support static files:

(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': '/path/to/media'}),

In the development server this makes static resources accessible at http://127.0.0.1:8000/site_media/

And this works well. However, if you change ""site_media"" to ""media"" as follows:

(r'^media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': '/path/to/media'}),

The django development server responds with a 404 error for all requests to http://127.0.0.1:8000/media/

"		closed	Uncategorized	1.0		invalid			Unreviewed	0	0	0	0	0	0
