generic inline formsets don't allow custom prefix
|Reported by:||akaihola||Owned by:||brosner|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Generic inline formset classes created with generic_inlineformset_factory() don't accept the prefix= keyword argument. They constructs the prefix from the app, model and generic relation field names instead.
The inability to override the prefix is not consistent with other form and formset classes, which all do accept the prefix= kwarg.
Change History (5)
Changed 6 years ago by akaihola
comment:1 Changed 6 years ago by Alex
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 6 years ago by Alex
- Has patch set
- Triage Stage changed from Unreviewed to Accepted