Re: Using form validation to prevent deletion no longer works (after rev 10206/ticket #9587)

2009-04-06 Thread Dan Tallis
It's not clear to me from the thread so far whether there has been a decision to back out 10206, but, to add some more evidence, I would point out that it has also made it rather more awkward to process formsets: You can no longer iterate over form.formsets (e.g. in a save method) and consider cle

Using form validation to prevent deletion no longer works (after rev 10206/ticket #9587)

2009-04-05 Thread Dan Tallis
[I posted a usage question on the same subject to django-users a short time ago, and Karen suggested I bring the issue here.] Since rev 10206, if a form in a formset has validation errors but is marked for deletion, the formset is_valid returns True (assuming there are no other form errors). Pri