#15522: delete_model on admin delete action
-------------------------------------+-------------------------------------
Reporter: Divad | Owner: nobody
Status: reopened | Milestone:
Component: | Version: SVN
django.contrib.admin | Keywords: delete_model
Resolution: | Has patch: 1
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 |
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Changes (by julien):
* stage: Unreviewed => Accepted
Comment:
Thanks for the details. I can see the use of knowing which user has
performed the bulk delete. However `delete_model(self, request, obj)`
cannot be used since that method is for one specific object.
As you mentioned, an easy workaround would be to define your own delete
action, which you could then wrap around the built-in one.
I agree that it would be nice to have an easier way of achieving that in
core, so I'm marking as Accepted.
--
Ticket URL: <http://code.djangoproject.com/ticket/15522#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.