Merged in fix/export-person-data (pull request #370)
Include sensitive data
This commit is contained in:
commit
95de81e4cf
|
|
@ -31,7 +31,9 @@ def export_persons(
|
||||||
# remove the first sheet is just easier than keeping track of the active sheet
|
# remove the first sheet is just easier than keeping track of the active sheet
|
||||||
wb.remove(wb.active)
|
wb.remove(wb.active)
|
||||||
|
|
||||||
user_with_roles = create_person_list_with_roles(user, course_session_ids)
|
user_with_roles = create_person_list_with_roles(
|
||||||
|
user, course_session_ids, include_private_data=True
|
||||||
|
)
|
||||||
course_sessions = CourseSession.objects.filter(id__in=course_session_ids)
|
course_sessions = CourseSession.objects.filter(id__in=course_session_ids)
|
||||||
|
|
||||||
for cs in course_sessions:
|
for cs in course_sessions:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue