#12515: confusing wording - formset Extra parameter
----------------------------------+-----------------------------------------
Reporter: smalldocerror | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: 1.1
Keywords: formset extra= param | Stage: Unreviewed
Has_patch: 0 |
----------------------------------+-----------------------------------------
On page http://docs.djangoproject.com/en/dev/topics/forms/formsets/
You say
"As you can see it only displayed one form. This is because by default the
formset_factory defines one extra form. This can be controlled with the
extra parameter:"
I find this confusing. I think the first instance of the word "extra" is
wrong.
It should be...
"As you can see it only displayed one form. This is because by default the
formset_factory defines one [delete the word "extra" here] form. This can
be controlled with the extra parameter:"
That is, ONE form is created by default. Not one EXTRA form.
The text for the next example confirms my belief.
"There are now a total of three forms showing above. One for the initial
data that was passed in and two extra forms."
So, by default ONE form, not one extra. And if you say extra=1 (over-
riding the default of extra=0?) then you get one EXTRA form.
But what do I know?
(wow, you make it hard to report a small bug! frickin spammers...)
--
Ticket URL: <http://code.djangoproject.com/ticket/12515>
Django <http://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.