Remove conflicting cms/ urlconf

This commit is contained in:
PCoder 2018-03-28 08:53:49 +02:00
parent bf48dc33de
commit 41d073da3b

View file

@ -56,7 +56,7 @@ urlpatterns += i18n_patterns(
url(
r'^blog/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<slug>\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')),
)