AdminSite.disable_action(name) [source]
If you need to disable a site-wide action you can call AdminSite.disable_action().
For example, you can use this method to remove the built-in “delete selected objects” action:
admin.site.disable_action('delete_selected')
Once you’ve done the above, that action will no longer be available site-wide.
If, however, you need to re-enable a globally-disabled action for one particular model, simply list it explicitly in your ModelAdmin.actions list:
# Globa