Page not found (404)

Не найден ни один Знание, соответствующий запросу
Request Method: GET
Request URL: https://derzn.ru/drevo/znanie/607
Raised by: drevo.views.znanie_detail_view.ZnanieDetailView

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

  1. [name='main-redirect']
  2. custom-admin/
  3. admin/
  4. drevo/ category/<int:pk> [name='drevo_type']
  5. drevo/ cookie_acceptance/
  6. drevo/ [name='drevo']
  7. drevo/ znanie/<int:pk> [name='zdetail']

The current path, drevo/znanie/607, 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.