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

View file

@ -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()),