摘要: def update(req: django.http.HttpRequest): if req.method == "POST": print("has file") with open("f:/file", "wb") as f: print("get f") print(req.FILES) for i in req.FILES["file_name"].chunks(): f.write( 阅读全文
posted @ 2019-09-16 17:01 651635 阅读(244) 评论(0) 推荐(0) 编辑