I have some modelforms within a <form>. Each form has one checkboxselectmultiple that is not required. If I post nothing (all checkboxes are empty) then all of the forms are invalid. If I post anything then all of the forms are valid. This anything could be that one of the forms has a box checked, or that I add <input type='hidden' name='omg' value='wtf'> to the form.
This constitutes a bug? Is there already an issue? Is there something standard I can do to make it work without the hidden field or is the hidden field a good way to go? POSTing with no data: Th[4320923648] 2010-09-27 12:13:48,689 cms.views [DEBUG ] POSTing to edit_assets with <QueryDict: {}> Th[4320923648] 2010-09-27 12:13:48,695 cms.forms [DEBUG ] the formset data is <QueryDict: {}> Th[4320923648] 2010-09-27 12:13:48,695 cms.forms [DEBUG ] forms are: [<cms.forms.AssetLanguageForm object at 0x10341ad90>, <cms.forms.AssetLanguageForm object at 0x10341aed0>] Th[4320923648] 2010-09-27 12:13:48,695 cms.forms [DEBUG ] asset metadata formset validation: [False, False] (.is_valid() on the forms) Th[4320923648] 2010-09-27 12:13:48,695 cms.forms [DEBUG ] errors? [{}, {}] [27/Sep/2010 12:13:48] "POST /portal/edit-assets/?collection=foobar HTTP/1.1" 200 2434 if anything is in the POST, the forms are valid. -- 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.