Suppression d'un .all() inutile.

This commit is contained in:
Martin Pépin 2016-06-16 09:31:08 +02:00
parent daa8e47090
commit 976a130dcb

View file

@ -239,7 +239,7 @@ def do_tirage(request, tirage_id):
if False:
Attribution.objects.filter(
spectacle__tirage=tirage_elt
).all().delete()
).delete()
for (show, members, _) in results:
for (member, _, _, _) in members:
attrib = Attribution(spectacle=show, participant=member)