The worst in this situation is that we have 2012 3Q in the yard but the
issue still open :(
Четвер, 12 серпня 2010 р. 10:32:32 UTC+3 користувач Tomi Pieviläinen
написав:
>
> I first approached the users-list to find out if I was simply doing
> something wrong, but seems like there's no
There is another ticket which try to solve this problem:
http://code.djangoproject.com/ticket/13878
The proposed solution is to add new attribute "formset.valid_forms" -
list of valid (and filled) forms. So problematic attribute
"formset.cleaned_data" (which sometimes raises "AttributeError" for
On Thu, Aug 12, 2010 at 3:32 AM, Tomi Pieviläinen wrote:
> This problem is encountered when a user starts modifying a form but
> decides that the whole set of data should be deleted anyway. Requiring
> that the form should be fixed before deletion is possible seems like
> an
I first approached the users-list to find out if I was simply doing
something wrong, but seems like there's no (obvious) mistake.
In a formset with can_delete, fs.is_valid() passes even if some of the
deleted forms are invalid. However fs.cleaned_data tries to access
every form, including the