Page not found (404)

Request Method: GET
Request URL: https://askerkhanov.ru/departments/9/
Raised by: settings.views.DepartamentDetail

Не найден ни один Отделение, соответствующий запросу

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.