#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)
Change History (9)
comment:1 by , 16 years ago
Owner: | changed from | to
---|
by , 16 years ago
Attachment: | 11022-bulk-delete-warning-r10680.diff added |
---|
comment:2 by , 16 years ago
Has patch: | set |
---|---|
Needs documentation: | unset |
Version: | 1.0 → SVN |
comment:3 by , 16 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:4 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:7 by , 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 , 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?
Attached patch warns and provides link to
QuerySet.delete
docs. Needs review but otherwise complete.