From 4688e8cba79b7de5a16479bdaa6d2079fa2fbbeb Mon Sep 17 00:00:00 2001 From: Date: Fri, 8 Dec 2017 02:20:46 +0300 Subject: [PATCH] heroku --- mysite/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysite/urls.py b/mysite/urls.py index 1c7e775..d34d5e3 100644 --- a/mysite/urls.py +++ b/mysite/urls.py @@ -21,4 +21,4 @@ from django.views.generic.base import TemplateView urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include('blog.urls')), -] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) +] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)