Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Fields were missing in the generated CSV, better to be coherent with the header
· 26be04c4
ynerant
authored
Apr 23, 2020
26be04c4
Hide whitespace changes
Inline
Side-by-side
management/commands/export_wei_registrations.py
View file @
26be04c4
...
...
@@ -80,7 +80,9 @@ class Command(BaseCommand):
s
+=
sep
+
user
.
first_name
s
+=
sep
+
str
(
registration
.
birth_date
)
s
+=
sep
+
registration
.
get_gender_display
()
s
+=
sep
+
user
.
profile
.
get_department_display
()
s
+=
sep
+
str
(
user
.
profile
.
ens_year
)
+
"
A
"
s
+=
sep
+
user
.
profile
.
section_generated
s
+=
sep
+
bus
.
name
s
+=
sep
+
(
team
.
name
if
team
else
"
--
"
)
s
+=
sep
+
"
,
"
.
join
(
role
.
name
for
role
in
membership
.
roles
.
all
())
...
...