将 render 的结果分配给一个变量,设置标题,然后返回响应。 response = render(request, "template.html", {}) response['Cache-Control'] ...
確定! 回上一頁