Page not found(404)

No Пин-ап matches the given query.
Request Method:GET
Request URL:https:/local/catalog/metall--metall/trio-t/
Raised by:shop.views.product_detail

Using the URLconf defined inmain.urls, Django Пин-ап these URL patterns, in this order:

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

The current path,catalog/metall--metall/trio-t/, matched the last one.

You’re seeing this error Пин-ап you haveDEBUG = Truein Пин-ап Django settings file. Change that toFalse, and Django will display a standard 404 Пин-ап