Page not found (404)

No Product matches the given query.
Request Method: GET
Request URL: https://kcgreen.in/products/nano-burst-automatic-aerosol-dispenser/
Raised by: app.views.product_detail

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

  1. admin/
  2. [name='home']
  3. home [name='home']
  4. about [name='about']
  5. contact [name='contact']
  6. client [name='client']
  7. categories/ [name='category_list']
  8. categories/<slug:category_slug>/subcategories/ [name='subcategory_list']
  9. subcategories/<slug:subcategory_slug>/products/ [name='product_list']
  10. products/<slug:product_slug>/ [name='product_detail']

The current path, products/nano-burst-automatic-aerosol-dispenser/, 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.