Question: How to modify default admin action "delete\_selected"

Answer: 
[**`Action docs`**](http://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/#)

delete selected:

> 
> If you wish to override this behavior,
>  simply write a custom action which
>  accomplishes deletion in your
>  preferred manner – for example, by
>  calling Model.delete() for each of the
>  selected items.
> 
> 
> 

This [**`discussion`**](http://groups.google.com/group/django-users/browse_thread/thread/956ca508fde69a7d) has an example of overriding 'delete\_selected' for a model. It could be implemented like this:

```
class SomeModelAdmin(admin.ModelAdmin):
    actions = ['custom_delete_selected']
    def custom_delete_selected(self, request, queryset):
         #custom delete code
    custom_delete_selected.short_description = "Delete selected items"

    def get_actions(self, request):
        actions = super(SomeModelAdmin, self).get_actions(request)
        del actions['delete_selected']
        return actions 

```
DOC:[Disabling actions](https://docs.djangoproject.com/en/1.10/ref/contrib/admin/actions/#disabling-actions)

Disabling a site-wide action

`admin.site.disable_action('delete_selected')`

Otherwise override `ModelAdmin.get_actions`