#10828: deleting all forms within a formset is not possible
-------------------------------+--------------------------------------------
          Reporter:  patrickk  |         Owner:  copelco
            Status:  new       |     Milestone:  1.2    
         Component:  Forms     |       Version:  SVN    
        Resolution:            |      Keywords:         
             Stage:  Accepted  |     Has_patch:  1      
        Needs_docs:  0         |   Needs_tests:  0      
Needs_better_patch:  1         |  
-------------------------------+--------------------------------------------
Changes (by copelco):

  * needs_better_patch:  0 => 1
  * has_patch:  0 => 1

Comment:

 What do we want to have happen? Since we're already short circuiting
 formset.is_valid() to skip forms marked for deletion, we could go ahead
 and validate the form and set the cleaned_data attribute to allow
 iteration over formset.forms. I'll attach a patch, but I'm not sure it's
 the best solution.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10828#comment:12>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to