Commit 5be2a0aa authored by VIVET Thomas's avatar VIVET Thomas
Browse files

Fix for issue #67

parent 5ad9cc0e
......@@ -170,7 +170,7 @@ def export_contributors(request):
response["Content-Disposition"] = 'attachment; filename="cotisants.csv"'
writer = csv.writer(response)
writer.writerow(["Login", "Surnom", "Prénom", "Nom", "Mail", "Début", "Fin"])
writer.writerow(["Login", "Surnom", "Prénom", "Nom", "Mail", "Type", "Début", "Fin"])
for user in users:
line = [
user.profile.user,
......@@ -178,6 +178,7 @@ def export_contributors(request):
user.first_name,
user.last_name,
user.email,
user.contribution.type,
user.contribution.start_date,
user.contribution.end_date,
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment