Skip to content
Snippets Groups Projects
Commit 0e0bc8d7 authored by GraceDB user's avatar GraceDB user
Browse files

added path for gracedb-static for debug mode/runserver

parent dcb3fe6a
No related branches found
No related tags found
No related merge requests found
......@@ -40,4 +40,8 @@ urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
# For development only. And only for old Django versions (like 1.2)
(r'^gracedb-static/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT}),
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment