aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index c2ad964..de3675b 100644
--- a/urls.py
+++ b/urls.py
@@ -4,6 +4,7 @@ from django.views.generic import RedirectView
from django.conf.urls import include, url
from django.urls import reverse_lazy
from django.views.static import serve
+from django.conf.urls.static import static
from django.contrib.auth import views as auth_views
@@ -125,7 +126,7 @@ urlpatterns = [
publish_views),
url(r'^api/v3/link_latest/(?P<path>.*)$',
link_latest_views),
-]
+] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
if settings.TRACK_DOWNLOAD_STATS:
urlpatterns += [