diff --git a/bda/views.py b/bda/views.py index 1ead6a43..94e57b7b 100644 --- a/bda/views.py +++ b/bda/views.py @@ -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)