Skip to content

Commit 88be9cc

Browse files
authored
Enable the delete_selected action on RequestTemplateAdmin #243 (#259)
Signed-off-by: tdruez <tdruez@nexb.com> --------- Signed-off-by: tdruez <tdruez@nexb.com>
1 parent a28d351 commit 88be9cc

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ Release notes
8080
Note that those count reflect the current risk threshold.
8181
https://github.com/aboutcode-org/dejacode/issues/102
8282

83+
- Enable the delete_selected action on RequestTemplateAdmin.
84+
https://github.com/aboutcode-org/dejacode/issues/243
85+
8386
### Version 5.2.1
8487

8588
- Fix the models documentation navigation.

workflow/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class RequestTemplateAdmin(DataspacedAdmin):
8181
"make_active",
8282
"make_inactive",
8383
]
84-
actions_to_remove = ["compare_with", "delete_selected"]
84+
actions_to_remove = ["compare_with"]
8585
# Disable the default notifications to admins.
8686
email_notification_on = []
8787
view_on_site = DataspacedAdmin.changeform_view_on_site

0 commit comments

Comments
 (0)