change the response of exception from HttpResponse to render