Facts, hacks and attacks from my life as a web application developer
Awesome. This solved my problem. Django's documentation tells you to pass data like HttpResponse(data, mimetype=mimetype), but with that i kept generating a corrupted zip says windows. Cheers.
Awesome, works like a charm. I struggled for 2 hours and then I found this post. Looking at the above code, I fixed the bugs in my code.
This works, very easy. But how will I save files coming from a database?
Awesome. This solved my problem. Django's documentation tells you to pass data like HttpResponse(data, mimetype=mimetype), but with that i kept generating a corrupted zip says windows. Cheers.
ReplyDeleteAwesome, works like a charm. I struggled for 2 hours and then I found this post. Looking at the above code, I fixed the bugs in my code.
ReplyDeleteThis works, very easy. But how will I save files coming from a database?
ReplyDelete