@login_required
def down_img(request, path):
    content = Storage().download(path)
    from django.http import StreamingHttpResponse
    # print(content,6666666666666)
    return HttpResponse(content, content_type='image/jpg')

相关文章:

  • 2021-07-19
  • 2022-12-23
  • 2021-09-20
  • 2021-08-29
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
猜你喜欢
  • 2021-10-04
  • 2022-12-23
  • 2021-09-26
  • 2021-06-16
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
相关资源
相似解决方案