Page not found (404)

Request Method: GET
Request URL: http://127.0.0.1:9090/index.do%3Bjsessionid%3DB34B27E5D3F5E815F55F71E10D2433BA/
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.