Commit ef93bd79 authored by klafyvel's avatar klafyvel

Merge branch 'fix_delete_set' into 'dev'

Fix delete_set form

See merge request federez/re2o!462
parents 2c815ab9 6a590570
Pipeline #2273 passed with stage
in 3 minutes and 30 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