Opened 12 years ago

Closed 12 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


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@… 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by pdeglopper@…

comment:1 Changed 12 years ago by Julien Phalip

Triage Stage: UnreviewedAccepted

comment:2 Changed 12 years ago by Jannis Leidel

Triage Stage: AcceptedReady for checkin

comment:3 Changed 12 years ago by Jannis Leidel

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