摘要: views.py from django.http import FileResponse def download(request): file = open('/root/Python-3.6.4.tgz', 'rb') response = FileResponse(file) respons 阅读全文
posted @ 2021-06-04 18:00 坚强的小蚂蚁 阅读(104) 评论(0) 推荐(0) 编辑