Hello
I am generating tar.gz files with Django and save it to somewhere like /home/foo/foo.tar.gz
but I don't know what is a good way to serve these generated files under django view.
I am using return HttpResponseRedirect("/home/foo/foo.tar.gz")
but it is actually not a good way to serve tar.gz files because the generated tar.gz file path start from /
(root dir) of my linux server instead of a relative path.
Thanks.