diff --git a/sigi/urls.py b/sigi/urls.py index 69cfbb9..f958508 100644 --- a/sigi/urls.py +++ b/sigi/urls.py @@ -27,4 +27,6 @@ if settings.DEBUG: url(r'^404/$', TemplateView.as_view(template_name='404.html')), url(r'^500/$', TemplateView.as_view(template_name='500.html')), url(r'^503/$', TemplateView.as_view(template_name='503.html')), + url(r'^media/(?P.*)$', 'django.views.static.serve', { + 'document_root': settings.MEDIA_ROOT, }), ) + urlpatterns