unfold: better management of static files thanks to finders for plugins and third...
[myslice.git] / myslice / urls.py
index b37ee50..8accdb5 100644 (file)
@@ -1,4 +1,5 @@
 from django.conf.urls import patterns, include, url
+from django.conf      import settings
 
 # Uncomment the next two lines to enable the admin:
 # from django.contrib import admin
@@ -51,5 +52,8 @@ urlpatterns = patterns(
     url(r'^portal/', include('portal.urls')),
     # Debug
     url(r'^debug/', include('debug_platform.urls')),
+    # Static files
+    (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
+
 
 )