Page not found (404)

No Category matches the given query.
Request Method: GET
Request URL: http://cyborg33.ru/shop/?add-to-cart=20622
Raised by: main.views.category

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

  1. admin/
  2. cart/
  3. [name='home']
  4. product/<int:product_id> [name='url_product']
  5. <slug:category_slug>/ [name='url_category']

The current path, shop/, 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.