How to send file to response in Django?
How to send file to response in Django? Question: I have such php function which I try to rewrite in my Django project. What should be an analogue in python for php methods like header() and show_error()? Also how to send file to response? php: function waprfile($date=false) { if(!isset($date) || $date==false) $date = date(“d.m.y”); $timestmp …