从窗体对象发布后,您没有在视图中保存图像。如果表单有效,您可以这样保存它
if 'image' in request.FILES: user.profile.image = request.FILES['image']