Page not found (404)

No Product matches the given query.
Request Method: GET
Request URL: https://astanafood.ru/catalog/rolly/unagi/
Raised by: shop.views.product_detail

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

  1. cart/
  2. orders/
  3. coupons/
  4. catalog/ [name='catalog']
  5. catalog/ <slug:slug>/ [name='category_detail']
  6. catalog/ <slug:parent>/<slug:slug>/ [name='product_detail']

The current path, catalog/rolly/unagi/, 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.