Re: [Django] #15522: Allow customizing queryset deletion in the delete_selected admin action view

10 views
Skip to first unread message

Django

unread,
Aug 29, 2017, 11:27:11 AM8/29/17
to django-...@googlegroups.com
#15522: Allow customizing queryset deletion in the delete_selected admin action
view
-------------------------------+------------------------------------
Reporter: Divad | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: delete_model | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by vangelou):

* needs_docs: 1 => 0
* needs_tests: 1 => 0


Comment:

The following pull request is based on ticket #27326. ModelAdmin exports a
delete_queryset(self, request, queryset) method which can be overriden
allowing extra actions during the queryset deletion process.
https://github.com/django/django/pull/8990

--
Ticket URL: <https://code.djangoproject.com/ticket/15522#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 29, 2017, 11:52:20 AM8/29/17
to django-...@googlegroups.com
#15522: Allow customizing queryset deletion in the delete_selected admin action
view
-------------------------------+------------------------------------
Reporter: Divad | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: delete_model | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by Tim Graham):

[https://github.com/django/django/pull/8990 PR] with comments for
improvement.

--
Ticket URL: <https://code.djangoproject.com/ticket/15522#comment:17>

Django

unread,
Sep 4, 2017, 6:13:25 AM9/4/17
to django-...@googlegroups.com
#15522: Allow customizing queryset deletion in the delete_selected admin action
view
-------------------------------+------------------------------------
Reporter: Divad | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: delete_model | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by vangelou):

* needs_better_patch: 1 => 0

Django

unread,
Jan 5, 2018, 7:31:08 PM1/5/18
to django-...@googlegroups.com
#15522: Allow customizing queryset deletion in the delete_selected admin action
view
-------------------------------+------------------------------------
Reporter: Divad | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: delete_model | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"777f216d555496798a1e65fd899b0f8a0349aeca" 777f216]:
{{{
#!CommitTicketReference repository=""
revision="777f216d555496798a1e65fd899b0f8a0349aeca"
Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete
selected objects" deletion.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/15522#comment:18>

Reply all
Reply to author
Forward
0 new messages