Include sensitive data

This commit is contained in:
Christian Cueni 2024-08-05 09:03:20 +02:00
parent 8f0c68270b
commit fb4f334120
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ def export_persons(
# remove the first sheet is just easier than keeping track of the active sheet
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)
for cs in course_sessions: