Re: How to handle invalid deleted forms in formsets

2010-08-10 Thread Tomi Pieviläinen
> What version of Django? This sounds a lot like: Latest (installed by making pip require django>=1.2). > http://code.djangoproject.com/ticket/11801 It isn't. The problem is not that I'm not getting formset.deleted_forms, I am. The problem is that these deleted forms also go to the

Re: How to handle invalid deleted forms in formsets

2010-08-10 Thread Karen Tracey
On Mon, Aug 9, 2010 at 8:23 AM, Tomi Pieviläinen wrote: > (Using formset_factory, if that makes a difference) > > If the user fills a form in formset incompletely and then marks it for > deletion, my form handling dies horribly. The deleted forms prevent > formset.cleaned_data

How to handle invalid deleted forms in formsets

2010-08-09 Thread Tomi Pieviläinen
(Using formset_factory, if that makes a difference) If the user fills a form in formset incompletely and then marks it for deletion, my form handling dies horribly. The deleted forms prevent formset.cleaned_data from working as they don't validate and thus the form doesn't have a cleaned_data