diff --git a/bda/views.py b/bda/views.py index 1206fec6..996a92fb 100644 --- a/bda/views.py +++ b/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