Page not found (404)

No Category matches the given query.
Request Method: GET
Request URL: http://energopribor.uz/uz/store/category/None/
Raised by: store.views.store

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

  1. uz/ admin/
  2. uz/ [name='home']
  3. uz/ store/ [name='store']
  4. uz/ store/ category/<slug:category_slug>/ [name='products_by_category']

The current path, uz/store/category/None/, 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.