#20107: Error in example for "Using initial data with a formset"
-------------------------------+--------------------------------------
     Reporter:  anteater_sa    |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  closed
    Component:  Documentation  |                  Version:  1.5
     Severity:  Normal         |               Resolution:  invalid
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by charettes):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 When passing initial data to a `FormSet` instance it's expected to be a
 `list` of `dict`s in order to specify initial data for individual forms.

 `Form` on the other hand accept initial as a `dict`.

 See TicketClosingReasons/UseSupportChannels for more details.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20107#comment:1>
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to