Éclaircissement du code

This commit is contained in:
Martin Pépin 2016-06-05 23:13:22 +02:00
parent f14a99cb07
commit 13858b87f3

View file

@ -129,8 +129,10 @@ def inscription(request, tirage_id):
{ "error_title": "C'est fini !",
"error_description": u"Tirage au sort dans la journée !",
"choices": choices})
BdaFormSet = inlineformset_factory(Participant, ChoixSpectacle,
fields=("spectacle","double_choice","priority"), formset=BaseBdaFormSet)
BdaFormSet = inlineformset_factory(Participant,
ChoixSpectacle,
fields=("spectacle","double_choice","priority"),
formset=BaseBdaFormSet)
participant, created = Participant.objects.get_or_create(
user=request.user, tirage=tirage)
success = False