Opened 3 years ago

Closed 3 years ago

#32984 closed New feature (fixed)

Allow overriding of deletion widget in formsets

Reported by: Ties Jan Hefting Owned by: Ties Jan Hefting
Component: Forms Version: dev
Severity: Normal Keywords:
Cc: Claude Paroz Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In Django 3.0 ordering_widget and get_ordering_widget() were introduced (see #29956). The typical use case was to easily override the ORDER field in formsets that are updated in the frontend. For the exact same use case, I'd find it useful to see deletion_widget and get_deletion_widget() getting introduced.

Discussion initiated here for this feature.

Change History (4)

comment:1 by Mariusz Felisiak, 3 years ago

Cc: Claude Paroz added
Triage Stage: UnreviewedAccepted

Thanks, sounds reasonable.

comment:2 by Ties Jan Hefting, 3 years ago

Has patch: set

comment:3 by Mariusz Felisiak, 3 years ago

Triage Stage: AcceptedReady for checkin

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In 4f3acf95:

Fixed #32984 -- Allowed customizing a deletion field widget in formsets.

Note: See TracTickets for help on using tickets.
Back to Top