﻿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
16720	staticfiles_urlpatterns looks for files in MEDIA_ROOT, not STATIC_ROOT	dramon@…	nobody	"
{{{
In new project I set this:
MEDIA_ROOT = '/someprj/media/'
MEDIA_URL = '/media/'
STATIC_ROOT = '/someprj/static/'
STATIC_URL = '/static/'
STATICFILES_FINDERS = (
#    'django.contrib.staticfiles.finders.FileSystemFinder',
#    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
    'django.contrib.staticfiles.finders.DefaultStorageFinder',
)

In urls.py I added at the end:
urlpatterns += staticfiles_urlpatterns()

In directory /someprj/static/ exists file test.txt
When I try to access this file on http://localhost:8000/static/test.txt error page is returned.
When a copy this file to /someprj/media/, Django shows it.
}}}
"	Bug	closed	contrib.staticfiles	1.3	Normal	invalid	staticfiles STATIC_ROOT		Unreviewed	0	0	0	0	0	0
