From ccf0d76038c806d0df7781f586af095a1928b827 Mon Sep 17 00:00:00 2001 From: Date: Fri, 8 Dec 2017 01:57:52 +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 47a7235..1c7e775 100644 --- a/mysite/urls.py +++ b/mysite/urls.py @@ -18,7 +18,7 @@ from django.contrib import admin from django.conf import settings from django.conf.urls.static import static from django.views.generic.base import TemplateView -urlpatterns = ['', +urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include('blog.urls')), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)