From 0210ea60055c2fd03fca3308011a3a0595bc90f5 Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Mon, 20 Aug 2018 11:07:21 +0300 Subject: [PATCH] update eshop_project --- eshop_project/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eshop_project/urls.py b/eshop_project/urls.py index 46a1542..6b1f800 100644 --- a/eshop_project/urls.py +++ b/eshop_project/urls.py @@ -43,7 +43,7 @@ urlpatterns = [ re_path(r'^cart/', include(('cart.urls', 'cart'), namespace='cart')), - re_path(r'^news/', include(('pinax.blog.urls','pinax'), namespace='news')), + re_path(r'^news/', include(('blog_ext.urls','blog_ext'), namespace='news')), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) \ + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)