Page not found (404)

No Category matches the given query.
Request Method: GET
Request URL: https://news.kamtur.ru/sanatoriums/paketnoe-predlozhenie-mayskiy-subbotnik-na-kurorte-ust-kachka/
Raised by: news.views.PostDetail

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

  1. admin/
  2. tinymce/
  3. robots.txt
  4. tags/ [name='tags']
  5. tags/<str:slug>/ [name='tags']
  6. <str:category>/ [name='category']
  7. <str:category>/<str:slug>/ [name='detail']

The current path, sanatoriums/paketnoe-predlozhenie-mayskiy-subbotnik-na-kurorte-ust-kachka/, 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.