Page not found (404)

Product not found
Request Method: GET
Request URL: https://www.buypackagings.com/Aluminum-Foil/21/
Raised by: website_app.views.ProductDetailView

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

  1. [name='index']
  2. admin/
  3. robots.txt
  4. __debug__/
  5. ckeditor/
  6. favicon.ico/
  7. sentry-debug/
  8. create-product/ [name='create_product']
  9. ^(contact-us|about-me|about-us|faq|retail-shipping|thanks|customize-products|artwork-guideline|terms-conditions|privacy-policy|why-us)/$ [name='page_view']
  10. search/product/ [name='search_products']
  11. tag/<str:supplier_category_slug>/ [name='supplier_category']
  12. sitemap.xml/ [name='site_map_page']
  13. ^sitemap-(?P<section>.+)\.xml$ [name='sitemaps']
  14. <str:category_slug>/ [name='product_category']
  15. <str:category_slug>/<str:slug>/ [name='product_detail']

The current path, Aluminum-Foil/21/, 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.