{"comment":{"url":"https://api.github.com/repos/ELVIS-Project/elvis-database/comments/12539864","html_url":"https://github.com/ELVIS-Project/elvis-database/commit/0830616074b64cc9311bcdf247b1f34e0b97a99c#commitcomment-12539864","id":12539864,"user":{"login":"ahankinson","id":163183,"avatar_url":"https://avatars.githubusercontent.com/u/163183?v=3","gravatar_id":"","url":"https://api.github.com/users/ahankinson","html_url":"https://github.com/ahankinson","followers_url":"https://api.github.com/users/ahankinson/followers","following_url":"https://api.github.com/users/ahankinson/following{/other_user}","gists_url":"https://api.github.com/users/ahankinson/gists{/gist_id}","starred_url":"https://api.github.com/users/ahankinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahankinson/subscriptions","organizations_url":"https://api.github.com/users/ahankinson/orgs","repos_url":"https://api.github.com/users/ahankinson/repos","events_url":"https://api.github.com/users/ahankinson/events{/privacy}","received_events_url":"https://api.github.com/users/ahankinson/received_events","type":"User","site_admin":false},"position":57,"line":72,"path":"elvis/views/views.py","commit_id":"0830616074b64cc9311bcdf247b1f34e0b97a99c","created_at":"2015-08-05T12:51:45Z","updated_at":"2015-08-05T12:51:45Z","body":"Yes. Saves keeping a bunch of temp files around. You can then move the zip file to a downloads directory and then delete the temp directory.\r\n\r\nYou might also look at doing a cleanup job -- say once a week -- to remove any of the old files that have been created. I did one for another project; the code is here:\r\n\r\nhttps://github.com/music-encoding/customeization/blob/master/task.py#L68\r\n\r\n"}}