Page not found (404)

Request Method: GET
Request URL: http://127.0.0.1:8008/blog/46
Raised by: blog.views.PostDetailView

No post found matching the query

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.