标签: python django static-files
答案 0 :(得分:0)
urlpatterns += patterns('', url(r'^media/(?P<path>.*)$', 'django.views.static.serve', { 'document_root': settings.MEDIA_ROOT, 'show_indexs': True, }), )