Suppression d'un .all()
inutile.
This commit is contained in:
parent
daa8e47090
commit
976a130dcb
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ def do_tirage(request, tirage_id):
|
||||||
if False:
|
if False:
|
||||||
Attribution.objects.filter(
|
Attribution.objects.filter(
|
||||||
spectacle__tirage=tirage_elt
|
spectacle__tirage=tirage_elt
|
||||||
).all().delete()
|
).delete()
|
||||||
for (show, members, _) in results:
|
for (show, members, _) in results:
|
||||||
for (member, _, _, _) in members:
|
for (member, _, _, _) in members:
|
||||||
attrib = Attribution(spectacle=show, participant=member)
|
attrib = Attribution(spectacle=show, participant=member)
|
||||||
|
|
Loading…
Reference in a new issue