Reformat code and give proper name to comic urlconf

This commit is contained in:
M.Ravi 2018-04-17 17:15:23 +02:00
parent 80a568b2b3
commit 8b5b353e59
1 changed files with 2 additions and 4 deletions

View File

@ -62,10 +62,8 @@ urlpatterns += i18n_patterns(
), name='blog_list_view'
),
url(r'^comic/$',
ungleich_views.PostListViewUngleich.as_view(
category='comic'
),
name='blog_list_view'),
ungleich_views.PostListViewUngleich.as_view(category='comic'),
name='comic_post_list_view'),
url(r'^cms/', include('cms.urls')),
url(r'^$', RedirectView.as_view(url='/cms') if REDIRECT_TO_CMS
else LandingView.as_view()),