July 31, 2012 16:25:54
I notice that admin.site.disable_action('delete_selected')
would disable the action for all models.
I changed the admin.py
file to disable the action only for DjangoBB models: https://github.com/slav0nic/DjangoBB/pull/8
btw. why is this really needed? The comment says:
# disabled, because delete_selected ignoring delete model method
So model_instance.delete() would not be called? maybe http://stackoverflow.com/questions/1471909/django-model-delete-not-triggered
Aug. 1, 2012 10:31:21
it will be veeeeeryyy sloooow
deleting 100 objects ~= 100 delete operation + 100 select + 100 update + overhead from python
maybe on_delete action can help with action (but not with perfomance)
i don't played with new on_delete FK params in django 1.4 + for this django 1.3 support must be dropped
Aug. 2, 2012 12:07:21
The boring thing is, that you can't select a few post in the admin and delete it via actions.
In which scenario do you delete hundreds of post in a bulk?
Aug. 2, 2012 13:25:41
ok, i will check is on_drop called via action