From 8f6bae6bd61034ba7faabb06ae6be16ab3a210d5 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 28 Mar 2018 08:53:49 +0200 Subject: [PATCH] Remove conflicting cms/ urlconf --- dynamicweb/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamicweb/urls.py b/dynamicweb/urls.py index 884c95b4..6d4f838a 100644 --- a/dynamicweb/urls.py +++ b/dynamicweb/urls.py @@ -56,7 +56,7 @@ urlpatterns += i18n_patterns( url( r'^blog/(?P\d{4})/(?P\d{1,2})/(?P\d{1,2})/(?P\w[-\w]*)/$', RedirectView.as_view(pattern_name='ungleich:post-detail')), - url(r'^blog/|cms/$', RedirectView.as_view( + url(r'^blog/$', RedirectView.as_view( url=reverse_lazy('ungleich:post-list')), name='blog_list_view'), url(r'^cms/', include('cms.urls')), )