Éclaircissement du code
This commit is contained in:
parent
f14a99cb07
commit
13858b87f3
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue