Send your model and form codes, than it will be easier to see what is wrong.


On Tue, Jul 27, 2010 at 4:45 AM, S.Selvam <s.selvams...@gmail.com> wrote:
> Hi all,
> I have two model fields (text and file ) and i want either one of the field
> to be filled out.
>
> I set null=True,blank=True for both fields in model.
>
> Still the form validation requires both fields.
>
> In form i tried to have required=False attribute, which makes it impossible
> to upload file(via HTTP Post from a applet )
>
>
> --
> Regards,
> S.Selvam
>
>    " I am because we are "
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

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

Reply via email to