Page not found (404)

No Blog found matching the query
Request Method: GET
Request URL: https://iranrequest.com/blog/blog-title-test/
Raised by: core.views.BlogDetailView

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

  1. admin/
  2. [name='homepage']
  3. about-us/ [name='about_us']
  4. contact-us/ [name='contact_us']
  5. product/ [name='product_list']
  6. product/<slug:cat>/ [name='product_cat']
  7. product/detail/<slug:slug>/ [name='product_detail']
  8. blog/ [name='blog_list']
  9. blog/<slug:slug>/ [name='blog_detail']

The current path, blog/blog-title-test/, 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.