Ticket #15310: static-files.txt.patch

File static-files.txt.patch, 504 bytes (added by Bradley Ayers <bradley.ayers@…>, 14 years ago)
  • docs/howto/static-files.txt

     
    267267
    268268    if settings.DEBUG:
    269269        urlpatterns += patterns('',
    270             url(r'^media/(?P<path>.*)$', 'django.views.static', {
     270            url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
    271271                'document_root': settings.MEDIA_ROOT,
    272272            }),
    273273       )
Back to Top