diff --git a/urls.py b/urls.py index 0412a86..3abb936 100644 --- a/urls.py +++ b/urls.py @@ -34,3 +34,10 @@ # url(r'lists/(?P.+)/$', 'list_info', dict(template = 'path/to/template.html'), name = 'list_info'), ) +if settings.DEBUG: + urlpatterns += patterns('', + (r'^static/(?P.*)$', 'django.views.static.serve', + {'document_root': settings.STATIC_MAILMAN_DJANGO}), +) + +