#16467: Little typo in the Formset docu
-------------------------------------+-------------------------------------
Reporter: | Owner: teraom
hannes.hapke@… | Status: reopened
Type: | Component: Documentation
Cleanup/optimization | Severity: Normal
Milestone: | Keywords: form inital value
Version: 1.3 | Has patch: 1
Resolution: | Needs tests: 0
Triage Stage: Ready for | Easy pickings: 0
checkin |
Needs documentation: 0 |
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by dmclain):
* status: closed => reopened
* resolution: fixed =>
Comment:
The documentation was correct as written. Initial should be an array of
dictionaries where the dictionaries are used for successive forms.
If you look at
https://code.djangoproject.com/browser/django/trunk/django/forms/formsets.py#L110
to construct the i'th form instance the initial paramater pulls
self.initial[i]
--
Ticket URL: <https://code.djangoproject.com/ticket/16467#comment:6>
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.