BaseInlineFormSet does not support "auto_id"
|Reported by:||Victor Andrée||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||yes|
BaseInlineFormSet.__init__ does not accept the
auto_id argument, unlike its ancestors. Furthmore, its parent
**kwargs and passes them along.
I can't think of a good reason for this omission/difference. I've attached a small patch to "match"
BaseModelFormSet.__init__. The patch puts the "new"
auto_id argument last in order to maximize backwards compatibility (the order is different for
auto_id could be removed from the explicit arg list since they're just passed along (in both
Change History (5)
comment:1 Changed 6 years ago by
|Patch needs improvement:||set|
|Triage Stage:||Unreviewed → Accepted|