Fix Django middleware import for XViewMiddleware