#16995: ModelFormSet initial data from initial parameter uses "extra" forms
----------------------------+--------------------
     Reporter:  p910221@…   |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  Forms       |    Version:  1.3
     Severity:  Normal      |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  0
----------------------------+--------------------
 It seems that when you feed initial data into a ModelFromSet using the
 initial parameter, it uses the "extra" forms that you define with the
 extra parameter in the modelformset_factory. For example, if you feed a
 list of two dictionaries (with the model data) into the initial parameter
 of a FormSet, but the formset_factory that the FormSet was created from
 has an extra parameter of 1 (or None), then only the model data from the
 first dictionary in the list will show up in the FormSet.

 Since "initial" data doen't seem like they should be in the "extra" forms,
 I think this is a bug?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16995>
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 post to this group, send email to django-updates@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