Remove name for cms.urls

This commit is contained in:
PCoder 2018-04-04 00:35:12 +02:00
parent 9b45b758c4
commit ae4a83bdb8

View file

@ -64,7 +64,7 @@ urlpatterns += i18n_patterns(
url=reverse_lazy('ungleich:post-list') url=reverse_lazy('ungleich:post-list')
), name='blog_list_view' ), name='blog_list_view'
), ),
url(r'^cms/', include('cms.urls'), name="cms"), url(r'^cms/', include('cms.urls')),
url(r'^$', RedirectView.as_view(url='/cms') if REDIRECT_TO_CMS url(r'^$', RedirectView.as_view(url='/cms') if REDIRECT_TO_CMS
else LandingView.as_view() else LandingView.as_view()
), ),