Adapted exceptionhandler to allow the Django web debugging interface.