minor syntax changes
This commit is contained in:
parent
f4fe231d4b
commit
825269067c
1 changed files with 2 additions and 2 deletions
|
@ -297,11 +297,11 @@ def spectacle(request, tirage_id, spectacle_id):
|
|||
for attrib in attributions:
|
||||
participant = attrib.participant
|
||||
participant.given = attrib.given
|
||||
if (participant.id in participants):
|
||||
if participant.id in participants:
|
||||
participants[participant.id].nb_places = 2
|
||||
else:
|
||||
participant.nb_places = 1
|
||||
participants[participant.id]=participant
|
||||
participants[participant.id] = participant
|
||||
|
||||
return render(request, "bda-participants.html", {"spectacle": spectacle, "participants": participants.values()})
|
||||
|
||||
|
|
Loading…
Reference in a new issue