So you want a user to click on a button, download file, then redirect to new view?
nah, the user uploads a file, then I parse it and redirect user to 'You can download your changed (parsed) file', where they can download it. My logic was that upload and parsing and redirecting happens in one view, then the download happens in a different view. Afaik I have to connect these two views so the download_view could get the newly created file id, but I can't (apparently) redirect to both another view and a new page in one view..