t;> id="profile_form"
>>>>> enctype="multipart/form-data">
>>>>> ... (other input fields and elements)>>>> id="id_profile_pic" name="profile_pic" type="file" />
>>>>>
>>
;: None|.
I used firebug to track the POST data. It contained
other fields but not |profile_pic|.
Can anyone say why the file does not get uploaded?
I've posted this question to StakOverflow
<http://stackoverflo
nts)>>> id="id_profile_pic" name="profile_pic" type="file" />
>>>>
>>>> The corresponding View is an UpdateView. I found request.FILES to be
>>>> empty and request.cleaned_data to contain 'profile_pic': None.
>
;profile_pic" type="file" />
>>>
>>> The corresponding View is an UpdateView. I found request.FILES to be
>>> empty and request.cleaned_data to contain 'profile_pic': None.
>>>
>>> I used firebug to track the POST
to be
>> empty and request.cleaned_data to contain 'profile_pic': None.
>>
>> I used firebug to track the POST data. It contained other fields but not
>> profile_pic.
>>
>> Can anyone say why the file does not get uploaded? I've posted this
>> qu
ew. I found request.FILES to be
> empty and request.cleaned_data to contain 'profile_pic': None.
>
> I used firebug to track the POST data. It contained other fields but not
> profile_pic.
>
> Can anyone say why the file does not get uploaded? I've posted this
>
059357/image-input-missing-from-post-request>
as
well, in case someone wants reputation points.
Thanks,
Abhishek Batra
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
7 matches
Mail list logo