Opened 16 years ago

Closed 16 years ago

Last modified 4 years ago

#11022 closed Uncategorized (fixed)

Document that the admin bulk delete doesn't call Model.delete()

Reported by: Jacob Owned by: Jacob
Component: Documentation 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

As per #10751 the admin delete action doesn't call Model.delete(). That ticket is DDN and could go either way, but for now we need to explain this behavior in the bulk admin docs. We should indicate that the workaround is easy: define a custom bulk delete action that does call Model.delete().

Attachments (1)

11022-bulk-delete-warning-r10680.diff (1023 bytes ) - added by Idan Gazit 16 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Idan Gazit, 16 years ago

Owner: changed from nobody to Idan Gazit

by Idan Gazit, 16 years ago

comment:2 by Idan Gazit, 16 years ago

Has patch: set
Needs documentation: unset
Version: 1.0SVN

Attached patch warns and provides link to QuerySet.delete docs. Needs review but otherwise complete.

comment:3 by Alex Gaynor, 16 years ago

Triage Stage: AcceptedReady for checkin

comment:4 by Jacob, 16 years ago

Owner: changed from Idan Gazit to Jacob
Status: newassigned

comment:5 by Alex Gaynor, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r10780.

comment:6 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

comment:7 by anonymous, 12 years ago

Easy pickings: unset
Severity: Normal
Type: Uncategorized
UI/UX: unset

I'm having trouble figuring out what release this fix is included in. I'm in 1.2 and I still seem to be hitting this problem.

comment:8 by Ondřej Kolín, 4 years ago

I think I am affected by this in Django version 3.0.8, or should I just give up on calling bulk delete from default admin page?

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