Greetings, By using Django, I want to generate a tar.gz which contains the files below, and render a tar.gz file:
Content from an Ubuntu server:
/home/user/myfolder
/home/user/image.jpg
an xml file from www.mysite.com/foo.xml (which is a dynamicly generated xml file.
Rendered tar.gz file
myfolder/
content/
.....
image.jpg
foo.xml
What would be the best way to do this inside achieve this as a Django view?