Commented out XViewMiddleware as it is causing tons of tracebacks