Page not found (404)

No BlogPost matches the given query.
Request Method: GET
Request URL: http://massimilianomoraca.me/blog/tag/sql/
Raised by: blog.views.single_post

Using the URLconf defined in personal_website.urls, Django tried these URL patterns, in this order:

  1. engine/
  2. sitemap.xml [name='sitemap']
  3. blog/ search/ [name='blogsearch_result']
  4. blog/ [name='blogpost_list']
  5. blog/ <slug:slug_category>/feed/ [name='blogcategory_feed']
  6. blog/ <slug:slug_category>/atom/ [name='blogcategory_atom']
  7. blog/ <slug:slug_category>/<slug:slug_post>/ [name='single_blogpost']

The current path, blog/tag/sql/, matched the last one.

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.