#28620: Loop on boundfields at init of inline sub-forms breaks the form set
-------------------------------------+-------------------------------------
     Reporter:  Jonathan Rossel      |                    Owner:
                                     |  DmitriySelischev
         Type:  Bug                  |                   Status:  assigned
    Component:  Forms                |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  inlineformset        |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 I don't think I've every seen a need to iterate over bound fields in
 `__init__()` -- certainly that's not a documented pattern. Can you instead
 make your modifications using  `self.fields['field_name'].widget` in
 `Form.__init__()`?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28620#comment:3>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.a070ddac19ec9676c33fce0985683465%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to