forked from DGNum/gestioCOF
Fix: Souscription aux reventes
Il me semblait que c'était déjà fait...
This commit is contained in:
parent
6fba63846a
commit
9254e3f8f7
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ def revente_subscribe(request, tirage_id):
|
|||
form = InscriptionReventeForm(tirage, request.POST)
|
||||
if form.is_valid():
|
||||
choices = form.cleaned_data["spectacles"]
|
||||
participant.choicesrevente = choices
|
||||
participant.choicesrevente.set(choices)
|
||||
participant.save()
|
||||
for spectacle in choices:
|
||||
qset = SpectacleRevente.objects.filter(attribution__spectacle=spectacle)
|
||||
|
|
Loading…
Reference in a new issue