Page not found (404)

Не найден ни один Знание, соответствующий запросу
Request Method: GET
Request URL: https://derzn.ru/drevo/znanie/22
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/ [name='drevo']
  5. drevo/ about/ [name='about_proj']
  6. drevo/ appeal/ [name='appeal']
  7. drevo/ klz_/ [name='clz']
  8. drevo/ klz/ [name='klz']
  9. drevo/ developer/ [name='developer_page']
  10. drevo/ glossary/ [name='glossary']
  11. drevo/ privacy/ [name='privacy']
  12. drevo/ cookie_acceptance/
  13. drevo/ knowledge/ [name='knowledge']
  14. drevo/ tree/search_results [name='search_by_tree']
  15. drevo/ tree/search_results/advance [name='advance_search_by_tree']
  16. drevo/ category/<int:pk> [name='drevo_type']
  17. drevo/ new_knowledge/ [name='new_knowledge']
  18. drevo/ popular_knowledges/ [name='popular_knowledges']
  19. drevo/ favourites/ [name='favourites']
  20. drevo/ knowledges_grades/ [name='knowledges_grades']
  21. drevo/ my_knowledge_grade/<int:id>/ [name='my_knowledge_grade']
  22. drevo/ knowledge/types/<int:type_pk> [name='knowledge_type']
  23. drevo/ relations/types/<int:type_pk> [name='relation_type']
  24. drevo/ public_people [name='public_people']
  25. drevo/ public_people/<int:id>/ [name='public_human']
  26. drevo/ labels/ [name='labels']
  27. drevo/ label/<int:pk> [name='zlabel']
  28. drevo/ authors/ [name='authors']
  29. drevo/ author/<int:pk> [name='author']
  30. drevo/ history/<int:id>/ [name='history']
  31. drevo/ subscribe_to_author/<int:id>/ [name='subscribe_to_author']
  32. drevo/ subscription_by_tag/<int:id>/ [name='subscription_by_tag']
  33. drevo/ subscription_by_category/<int:id>/ [name='subscription_by_category']
  34. drevo/ new_knowledges/<int:id>/ [name='new_knowledges']
  35. drevo/ my_favourites/<int:id>/ [name='my_favourites']
  36. drevo/ my_knowledge/<int:id>/ [name='my_knowledge']
  37. drevo/ my_preknowledge/<int:id>/ [name='my_preknowledge']
  38. drevo/ my_expertise/<int:id>/ [name='my_expertise']
  39. drevo/ my__interview/<int:id>/ [name='my_interview_profile']
  40. drevo/ special_permission/<int:id>/ [name='special_permission']
  41. drevo/ my_proposal/<int:id>/ [name='my_proposal']
  42. drevo/ profile/settings/ [name='parameter_settings']
  43. drevo/ profile/settings/update [name='update_settings']
  44. drevo/ znanie/<int:pk> [name='zdetail']

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