Typos
This commit is contained in:
parent
4596d588e9
commit
d4040670f5
1 changed files with 5 additions and 5 deletions
10
bda/views.py
10
bda/views.py
|
@ -300,11 +300,11 @@ def spectacle(request, tirage_id, spectacle_id):
|
|||
participant = attrib.participant
|
||||
participant_info = {'lastname': participant.user.last_name,
|
||||
'name': participant.user.get_full_name,
|
||||
'username':participant.user.username,
|
||||
'email':participant.user.email,
|
||||
'given':int(attrib.given),
|
||||
'paid':participant.paid,
|
||||
'nb_places':1}
|
||||
'username': participant.user.username,
|
||||
'email': participant.user.email,
|
||||
'given': int(attrib.given),
|
||||
'paid': participant.paid,
|
||||
'nb_places': 1}
|
||||
if participant.id in participants:
|
||||
participants[participant.id]['nb_places'] += 1
|
||||
participants[participant.id]['given'] += attrib.given
|
||||
|
|
Loading…
Reference in a new issue