I am running a Django application and in one of my views, I receive an audio file sent via POST. I save it as a temp file in the following way
def save_temp_file(