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, }), )