Merge branch 'Aufinal/fix-reventes' into 'master'
Fix: Souscription aux reventes See merge request klub-dev-ens/gestioCOF!375
This commit is contained in:
commit
4d9c66cb51
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ def revente_subscribe(request, tirage_id):
|
||||||
form = InscriptionReventeForm(tirage, request.POST)
|
form = InscriptionReventeForm(tirage, request.POST)
|
||||||
if form.is_valid():
|
if form.is_valid():
|
||||||
choices = form.cleaned_data["spectacles"]
|
choices = form.cleaned_data["spectacles"]
|
||||||
participant.choicesrevente = choices
|
participant.choicesrevente.set(choices)
|
||||||
participant.save()
|
participant.save()
|
||||||
for spectacle in choices:
|
for spectacle in choices:
|
||||||
qset = SpectacleRevente.objects.filter(attribution__spectacle=spectacle)
|
qset = SpectacleRevente.objects.filter(attribution__spectacle=spectacle)
|
||||||
|
|
Loading…
Reference in a new issue