diff --git a/tournaments/views.py b/tournaments/views.py index b536c92..add3598 100644 --- a/tournaments/views.py +++ b/tournaments/views.py @@ -897,7 +897,7 @@ class UserListExportView(LoginRequiredMixin, View): # Write header headers = [ - 'Prenom', 'Nom', 'Email', 'Club', + 'Prenom', 'Nom', 'Club', 'Email', 'Telephone', 'Login', 'Actif', 'Inscription', 'Tournois' ] response.write('\t'.join(headers) + '\n') @@ -907,8 +907,9 @@ class UserListExportView(LoginRequiredMixin, View): row = [ str(user.first_name or ''), str(user.last_name or ''), - str(user.email or ''), str(user.latest_event_club_name() or ''), + str(user.email or ''), + str(user.phone or ''), str(user.username or ''), 'Oui' if user.is_active else 'Non', user.date_joined.strftime('%Y-%m-%d %H:%M:%S'),