Remove unwanted /comic/... urlconf

This commit is contained in:
M.Ravi 2018-04-17 17:14:39 +02:00
parent 7d211b3333
commit 80a568b2b3

View file

@ -61,8 +61,6 @@ 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'^comic/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<slug>\w[-\w]*)/$',
RedirectView.as_view(pattern_name='ungleich:post-detail')),
url(r'^comic/$', url(r'^comic/$',
ungleich_views.PostListViewUngleich.as_view( ungleich_views.PostListViewUngleich.as_view(
category='comic' category='comic'