Django offers you a wide range of options to customize the administration site. We are going to modify the object list view to include a custom admin action.
An admin action works as follows: a user selects objects from the admin's object list page with checkboxes, then selects an action to perform on all of the selected items, and executes the action. The following screenshot shows where actions are located in the administration site:
You can create a custom action by writing a regular function that ...