Skip to content

Commit 47481fe

Browse files
authored
Merge pull request #633 from mymusise/django2
fix bug when using `get_deleted_objects` function
2 parents 33356ce + 375db83 commit 47481fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

xadmin/plugins/actions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def do_action(self, queryset):
108108
deletable_objects, model_count, perms_needed, protected = get_deleted_objects(
109109
queryset, self.opts, self.user, self.admin_site, using)
110110

111+
111112
# The user has already confirmed the deletion.
112113
# Do the deletion and return a None to display the change list view again.
113114
if self.request.POST.get('post'):

0 commit comments

Comments
 (0)