And since we're using the newer django static file handling, we
can remove the old debug url configration to find the static files.
url(r'^admin/', include(admin.site.urls)),
)
-
-if settings.DEBUG:
- urlpatterns += patterns('',
- url(r'^static/(?P<path>.*)$', 'django.views.static.serve',
- {'document_root': settings.MEDIA_ROOT}),
- )
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.6/howto/static-files/
+STATICFILES_DIRS = (
+ os.path.join(BASE_DIR, 'htsworkflow', 'frontend', 'static'),
+)
STATIC_URL = '/static/'