Re: formsets and empty results
Hey,
Ik zou deze pagina even bekijken: http://docs.djangoproject.com/en/1.1/ref/forms/validation/#ref-forms-validation
Grtz
-- On Sat, May 15, 2010 at 7:34 PM, Wim Feijen <wimfeijen@gmail.com> wrote:
Hi all,
Can some of you please help me with the following?
For an application, I need to display the same form ten times over.
Filling in each form is optional. Of course, I'd like to keep this
safe & simple and therefore I am looking at formsets.
Is it possible to use a formset, call formset.is_valid() and that it
ignores empty forms?
I'm using the forms only for adding new data, not for altering
existing data.
Thanks!
Best regards, Wim
--
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 django-users+unsubscribe@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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home