Hi Rajesh,
Yahooo! Thanks got it fixed, using UploadForm(request.POST,
request.FILES).
I missed out on request.FILES the first time.
Cool, many thanks!
-jelle
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
> The mulipart/dorm-data encoding type is set, so that shouldnt be it.
> Here's the code I'm using
Your form and template look OK. Can you show your view code too?
Perhaps you are not passing request.FILES to the posted form
instance.
-RD
--~--~-~--~~~---~--~~
Hi Karen, Rasjeh,
The mulipart/dorm-data encoding type is set, so that shouldnt be it.
Here's the code I'm using
*** form ***
class UploadForm(forms.Form):
'''
choices for quering assets
'''
doc_scope = [(i.long_name, i.long_name) for i in
DocumentType.objects.all()]
th
Hi,
> I'm using django 1.0, and am experiencing the following issue with a
> forms.FileField.
> When I use required=False, I'm able to validate the form, while when
> using the same form with required=True in the forms.FileField, the
> forms does not validate, and returns a *this field is require
On Tue, Nov 18, 2008 at 7:16 AM, jelle <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm using django 1.0, and am experiencing the following issue with a
> forms.FileField.
> When I use required=False, I'm able to validate the form, while when
> using the same form with required=True in the forms.FileFie
5 matches
Mail list logo