Commit daf35bed by Calen Pennington

Fix instructor csv download

parent 2a4b3c96
...@@ -694,7 +694,7 @@ def instructor_dashboard(request, course_id): ...@@ -694,7 +694,7 @@ def instructor_dashboard(request, course_id):
datatable = {'header': ['User ID', 'Anonymized user ID', 'Course Specific Anonymized user ID']} datatable = {'header': ['User ID', 'Anonymized user ID', 'Course Specific Anonymized user ID']}
datatable['data'] = [[s.id, unique_id_for_user(s), anonymous_id_for_user(s, course_id)] for s in students] datatable['data'] = [[s.id, unique_id_for_user(s), anonymous_id_for_user(s, course_id)] for s in students]
return return_csv(course_id.to_deprecated_string().replace('/', '-') + '-anon-ids.csv', datatable) return return_csv(course_key.to_deprecated_string().replace('/', '-') + '-anon-ids.csv', datatable)
#---------------------------------------- #----------------------------------------
# Group management # Group management
......
Markdown is supported
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