Reformat code and give proper name to comic urlconf
This commit is contained in:
parent
80a568b2b3
commit
8b5b353e59
1 changed files with 2 additions and 4 deletions
|
@ -62,10 +62,8 @@ urlpatterns += i18n_patterns(
|
||||||
), name='blog_list_view'
|
), name='blog_list_view'
|
||||||
),
|
),
|
||||||
url(r'^comic/$',
|
url(r'^comic/$',
|
||||||
ungleich_views.PostListViewUngleich.as_view(
|
ungleich_views.PostListViewUngleich.as_view(category='comic'),
|
||||||
category='comic'
|
name='comic_post_list_view'),
|
||||||
),
|
|
||||||
name='blog_list_view'),
|
|
||||||
url(r'^cms/', include('cms.urls')),
|
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()),
|
||||||
|
|
Loading…
Reference in a new issue