From 976a130dcb179b2acc912fd5940333f93234507d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Thu, 16 Jun 2016 09:31:08 +0200 Subject: [PATCH] Suppression d'un `.all()` inutile. --- bda/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bda/views.py b/bda/views.py index 3f206e63..2fdd7542 100644 --- a/bda/views.py +++ b/bda/views.py @@ -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)