django-chunks文件 with open(file_save_path, 'wb') as f: for chunk in file_content.chunks(): f.write(chunk)