会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
TimLinux
首页
联系
管理
2019年3月4日
[TimLinux] django 下载功能中文文件名问题
摘要: from django.utils.encoding import escape_uri_pathfrom django.http import HttpResponsedef download(request): fn = "中文文件.xlsx" with open(fn, 'rb') as f: content = f.read() response = H...
阅读全文
posted @ 2019-03-04 20:44 TimLinux
阅读(549)
评论(0)
推荐(0)
编辑
公告