forked from DGNum/gestioCOF
Merge branch 'Kerl/fix_tirage' into 'master'
Répare les tirages du BdA La liste des spectacles était passées à l'algo de tirage au lieu des participants See merge request !21
This commit is contained in:
commit
9ff09d5363
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