forked from DGNum/gestioCOF
Répare les tirages du BdA
La liste des spectacles était passées à l'algo de tirage au lieu des participants
This commit is contained in:
parent
2b7f1c96d1
commit
a0a4ff05d5
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ def do_tirage(request, tirage_id):
|
||||||
start = time.time()
|
start = time.time()
|
||||||
data = {}
|
data = {}
|
||||||
shows = tirage_elt.spectacle_set.select_related().all()
|
shows = tirage_elt.spectacle_set.select_related().all()
|
||||||
members = tirage_elt.spectacle_set.all()
|
members = tirage_elt.participant_set.all()
|
||||||
choices = ChoixSpectacle.objects.filter(spectacle__tirage=tirage_elt).order_by(
|
choices = ChoixSpectacle.objects.filter(spectacle__tirage=tirage_elt).order_by(
|
||||||
'participant', 'priority').select_related().all()
|
'participant', 'priority').select_related().all()
|
||||||
algo = Algorithm(shows, members, choices)
|
algo = Algorithm(shows, members, choices)
|
||||||
|
|
Loading…
Reference in a new issue