Skip to content
Snippets Groups Projects
Commit 26be04c4 authored by ynerant's avatar ynerant
Browse files

Fields were missing in the generated CSV, better to be coherent with the header

parent 8b903808
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,9 @@ class Command(BaseCommand): ...@@ -80,7 +80,9 @@ class Command(BaseCommand):
s += sep + user.first_name s += sep + user.first_name
s += sep + str(registration.birth_date) s += sep + str(registration.birth_date)
s += sep + registration.get_gender_display() s += sep + registration.get_gender_display()
s += sep + user.profile.get_department_display()
s += sep + str(user.profile.ens_year) + "A" s += sep + str(user.profile.ens_year) + "A"
s += sep + user.profile.section_generated
s += sep + bus.name s += sep + bus.name
s += sep + (team.name if team else "--") s += sep + (team.name if team else "--")
s += sep + ", ".join(role.name for role in membership.roles.all()) s += sep + ", ".join(role.name for role in membership.roles.all())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment