#22276: BaseFormSet.is_valid() produces ValidationError when there is no 
management
form
---------------------------+------------------------------------
     Reporter:  anonymous  |                    Owner:  patrys
         Type:  Bug        |                   Status:  assigned
    Component:  Forms      |                  Version:  master
     Severity:  Normal     |               Resolution:
     Keywords:             |             Triage Stage:  Accepted
    Has patch:  1          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  1
Easy pickings:  0          |                    UI/UX:  0
---------------------------+------------------------------------
Changes (by timgraham):

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


Comment:

 Actually, I may have been premature in accepting this. It seems this will
 make debugging quite a bit tricker (when you forget to include a
 management form, the form will be silently invalid, correct?). At the
 least, there should be some error message (see also #13060).

 Also the current behavior is
 [https://docs.djangoproject.com/en/dev/topics/forms/formsets
 /#understanding-the-managementform documented] so we have to consider
 backwards compatibility here.

--
Ticket URL: <https://code.djangoproject.com/ticket/22276#comment:7>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.e2945efc6bb4c90025c56ab4bc09b486%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to