Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 5edb61438e05e7e962474d0a9e1b5e3b7cdc6475 1 parent 8c3416f
Gabriel Hurley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/howto/static-files.txt
View
2  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<path>.*)$', 'django.views.static', {
+ url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
'document_root': settings.MEDIA_ROOT,
}),
)
Please sign in to comment.
Something went wrong with that request. Please try again.