#12802 closed (fixed)
InlineModelAdmin.form: inlineformset_factory, not formset_factory
Description ¶
The documentation for the form
member of !InlineModelAdmin
writes that formset_factory
is invoked.
As line 1160 of django/contrib/admin/options.py reads, it is inlineformset_factory
that is invoked, not formset_factory
.
Change History (5)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 15 years ago
Attachment: | 12802_update_doc.diff added |
---|
comment:2 by , 15 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
I verified that the form is indeed passed to in django.contrib.admin.options at the last line of InlineModelAdmin.get_formset (currently L1230).
The patch updates the documentation accordingly.
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
Changes formset_factory to inlineformset_factory