#15522: delete_model on admin delete action
---------------------------+------------------------------------------------
Reporter: Divad | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: SVN
Keywords: delete_model | Triage Stage: Unreviewed
Has patch: 1 |
---------------------------+------------------------------------------------
Based on [Ticket #11108]
The correction should also include this change in actions.py:
{{{
47c47
< modeladmin.delete_model(request,obj)
---
> queryset.delete()
}}}
To have the same result using delete_selected from actions.
--
Ticket URL: <http://code.djangoproject.com/ticket/15522>
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.