* cc: shelldweller (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/15522#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: omerd1 (added)
Comment:
I've encountered this 'feature' while debugging my delete_model.
Another working workaround is to register for pre_delete signal
--
Ticket URL: <https://code.djangoproject.com/ticket/15522#comment:11>
Comment (by czpython):
While I agree that we should keep consistency, in this case I think both
actions should be treated separately.
One deletes a single object, the other deletes multiple objects.
Hooking a pre delete signal or calling delete_model have big impact on
performance depending on how many objects
are being deleted.
I'd like to propose a change in the delete action that allows for hooking
into it before the deletion takes place,
maybe a method in the {{{ModelAdmin}}} class?
--
Ticket URL: <https://code.djangoproject.com/ticket/15522#comment:13>
* cc: commonzenpython@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/15522#comment:14>