Commit 33ab592c authored by VAN ZUIJLEN Nils's avatar VAN ZUIJLEN Nils
Browse files

Merge branch '67-bde-type-csv' into 'master'

Fix for issue #67

Closes #67

See merge request !64
parents 5ad9cc0e 5be2a0aa
......@@ -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