def delete_selected(self, request, queryset):
        if 'hard_delete' in dir(queryset):
            queryset.delete = queryset.hard_delete
        return delete_selected_(self, request, queryset)
dataset/ETHPy150Open PressLabs/silver/silver/admin.py/LiveModelAdmin.delete_selected/original