Use /cms for redirection instead of incorrect namespaces
This commit is contained in:
parent
69003c6913
commit
0ec29be4ec
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ urlpatterns += i18n_patterns(
|
||||||
), name='blog_list_view'
|
), name='blog_list_view'
|
||||||
),
|
),
|
||||||
url(r'^cms/', include('cms.urls'), name="cms"),
|
url(r'^cms/', include('cms.urls'), name="cms"),
|
||||||
url(r'^$', RedirectView.as_view(url=reverse_lazy('dynamicweb:cms'))
|
url(r'^$', RedirectView.as_view(url='/cms') if REDIRECT_TO_CMS
|
||||||
if REDIRECT_TO_CMS else LandingView.as_view()
|
else LandingView.as_view()
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue