@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')
@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')