From 5edb61438e05e7e962474d0a9e1b5e3b7cdc6475 Mon Sep 17 00:00:00 2001 From: Gabriel Hurley Date: Thu, 17 Feb 2011 02:11:44 +0000 Subject: [PATCH] Fixed #15310 -- Corrected a view path in the static files how to docs. Thanks to Bradley Ayers for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15556 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/howto/static-files.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/static-files.txt b/docs/howto/static-files.txt index 3faeaeba41..35b3afe029 100644 --- a/docs/howto/static-files.txt +++ b/docs/howto/static-files.txt @@ -267,7 +267,7 @@ for user-uploaded files, but you can have Django serve your if settings.DEBUG: urlpatterns += patterns('', - url(r'^media/(?P.*)$', 'django.views.static', { + url(r'^media/(?P.*)$', 'django.views.static.serve', { 'document_root': settings.MEDIA_ROOT, }), )