#20347: Note that initializing a formset will be limited by max_num
--------------------------------------+------------------------------------
Reporter: CarstenF | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.5
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by anonymous):
Clarifying the documentation would certainly help, but doesn't this mean
that we have to use `max_num=len(MyInitials)` as a "permanent" work-around
in user code?
{{{
#!python
ArticleFormSet = formset_factory(ArticleForm, max_num=len(MyInitials),
extra=0)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20347#comment:2>
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.4c2e9dc1bd48c66b713d034310636f12%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.