Remove conflicting cms/ urlconf
This commit is contained in:
parent
bf48dc33de
commit
41d073da3b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ urlpatterns += i18n_patterns(
|
||||||
url(
|
url(
|
||||||
r'^blog/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<slug>\w[-\w]*)/$',
|
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')),
|
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=reverse_lazy('ungleich:post-list')), name='blog_list_view'),
|
||||||
url(r'^cms/', include('cms.urls')),
|
url(r'^cms/', include('cms.urls')),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue