Page not found (404)

Request Method: GET
Request URL: http://127.0.0.1:9090/noticia.do%3Bjsessionid%3DDBC759B599BC9225C4AD03730AFE3CE9/?id=2337
Raised by: website.custom_views.departamento.home

No Departamento matches the given query.

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.