Page not found (404)

Geen product gevonden die voldoet aan de query
Request Method: GET
Request URL: https://masteroil.com/nl/producten/masteroil-multi-truck-5w-30/
Raised by: products.views.ProductDetailView

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

  1. ^media/(?P<path>.*)$
  2. ^static/(?P<path>.*)$
  3. ^sitemap\.xml$
  4. api/partners/
  5. api/products/
  6. api/shopping/
  7. ^partslife/redirect/
  8. viewer/ [name='masteroil-viewer']
  9. nl/ admin/
  10. nl/ ^admin/
  11. nl/ accounts/
  12. nl/ ^partner-workshops/\Z [name='partner-list']
  13. nl/ ^partner-workshops/me/\Z [name='partner-me']
  14. nl/ ^producten/\Z [name='product-list']
  15. nl/ ^producten/oilworld/\Z
  16. nl/ ^producten/additives/\Z
  17. nl/ ^producten/(?P<slug>[^/]+)/\Z [name='product-detail']

The current path, nl/producten/masteroil-multi-truck-5w-30/, 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.