2👍
✅
You forgot the instance parameter in your second UpdateProfileForm()
call. It should be:
else:
update_profile_form = UpdateProfileFrom(instance=request.user)
Source:stackexchange.com