Opened 13 years ago

Closed 13 years ago

#16604 closed New feature (fixed)

New save_related hook should be called from admin changelist_view as well as add and change

Reported by: pdeglopper@… Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: 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

The new hook save_related added for ticket 16115 should be called by the changelist_view when handling POSTed bulk-edit data. Although there is no possibility of inline formsets for the models in that view, it is possible for edits to the list_editable fields to require changes to the edited object's related objects.

Attachments (1)

save_related_in_changelist_view.diff (2.5 KB ) - added by pdeglopper@… 13 years ago.

Download all attachments as: .zip

Change History (4)

by pdeglopper@…, 13 years ago

comment:1 by Julien Phalip, 13 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Jannis Leidel, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Jannis Leidel, 13 years ago

Resolution: fixed
Status: newclosed

In [16599]:

Fixed #16604 -- Use new save_related hook when saving objects on the changelist, too. Thanks, pdeglopper.

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