1
0
Fork 0

Fix multiple items removal

This commit is contained in:
Piotr Dobrowolski 2017-05-29 15:39:28 +02:00
parent c4c21e0ec1
commit ff36963f60
1 changed files with 4 additions and 0 deletions

View File

@ -54,5 +54,9 @@ class ItemAdmin(admin.ModelAdmin):
'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
)
def response_action(self, request, queryset):
with Item.disabled_tree_trigger():
return super(ItemAdmin, self).response_action(request, queryset)
admin.site.register(Item, ItemAdmin)
admin.site.register(Category)