Instead of doing this: 而不是这样做: res = HttpResponse("Unauthorized") res.status_code = 401 return res res = HttpRe 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交