Files
edx-platform/lms/djangoapps/teams/csv.py
Kyle McCormick dcf5d70bc4 Create UI for CSV team management (#22310)
Adds "Manage" sub-tab to course "Teams" tab
with UI for downloading and uploading team
membership CSVs. The upload and download function-
ality are currently not implemented.

The new tab only appears when the user is course staff
and the course has at least one instructor-managed
team-set, which is not the case for any existing
courses, so not current course staff will see this
change.

This ticket will be followed-up upon in MST-44 and
MST-49.

MST-41
2019-12-02 11:27:05 -05:00

22 lines
633 B
Python

"""
CSV processing and generation utilities for Teams LMS app.
"""
def load_team_membership_csv(course, response):
"""
Load a CSV detailing course membership.
Arguments:
course (CourseDescriptor): Course module for which CSV
download has been requested.
response (HttpResponse): Django response object to which
the CSV content will be written.
"""
# This function needs to be implemented (TODO MST-31).
_ = course
not_implemented_message = (
"Team membership CSV download is not yet implemented."
)
response.write(not_implemented_message + "\n")