Am Freitag, 3. August 2007 15:34 schrieb ZhangshenPeng:
> Question 1:
>
>     When I removed "blank=True" from FileField ,then use below method
> to upload file , but no matter whether your choosed file , the from
> valid will report error "This field is required."

All newforms Fields habe a keyword argument called "required".
Use required=False

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to