FileResponse里出现unable to get repr for <class 'django.http.response.FileResponse'>问题该怎么解决
if ready: filename = task.result return FileResponse(open(filename, mode='rb'), as_attachment=True)
收起
建议看下django的官方文档上传文件部分
报告相同问题?