Commit 6a590570 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by klafyvel

Fix delete_set form

parent 2c815ab9
Pipeline #2272 passed with stage
in 3 minutes and 17 seconds
......@@ -255,7 +255,7 @@ def can_delete_set(model):
all_objects = model.objects.all()
instances_id = []
for instance in all_objects:
can, _msg = instance.can_delete(request.user)
can, _msg, _reason = instance.can_delete(request.user)
if can:
instances = model.objects.filter(id__in=instances_id)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment