Your post URLconf
regex
url(r'^post/(?P<pk>\d+)/(?P<post_title>)', DetailView.as_view(
model = post,
template_name = "post.html")),
Should changed to
url(r'^post/(?P<pk>\d+)/(?P<post_title>[-\w]+)/$', DetailView.as_view(
model = post,
template_name = "post.html")),
means URLconf
is ending with end-slash
Anyway, Try to define you DetailView
URLconf
after post ListView
. In my opinion if you change your list view and detailview to posts/
and post/
you problem will be solved. The solution is same for tags
URLconf
issue.