f = MyForm(request.POST, request.FILES, instance=myinstance) 在实例化Form的时候一定要加上:request.FILES 2
<form enctype="multipart/form-data" method="post" action=""> 表单中必须加上:
enctype="multipart/form-data"