#29956: Allow formset form widget override for the ORDER field
------------------------------+------------------------------------------
Reporter: Claude Paroz | Owner: Hasan Ramezani
Type: New feature | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------------
Changes (by Carlton Gibson):
* needs_better_patch: 0 => 1
* version: 2.1 => master
Comment:
On the PR I've suggested a third-option (rather than adding an argument to
`formset_factory()` or using the ModelForm's `Meta.widgets` ) to have
users subclass `BaseFormSet` in this case and pass that as the `formset`
argument to `formset_factory()`.
This keeps the logic in with the formsets but does not expand the
signature of `formset_factory()`, which is already long enough.
--
Ticket URL: <https://code.djangoproject.com/ticket/29956#comment:6>
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/065.77de1d7fe28aba93ebf27fa51deca582%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.