Page not found (404)

Не найден ни один Новость, соответствующий запросу
Request Method: GET
Request URL: https://tmka72.ru/novosti/dni-rozhdeniya-yanvar-2022
Raised by: blog.views.TheNewsView

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

  1. admin/
  2. [name='home']
  3. novosti/<str:slug> [name='theNews']

The current path, novosti/dni-rozhdeniya-yanvar-2022, 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.