Commit b576b516 by Jonathan Piacenti

Fix fetching of enrolled students in generate_progress_entries.

parent 2c96ee6b
...@@ -58,7 +58,7 @@ class Command(BaseCommand): ...@@ -58,7 +58,7 @@ class Command(BaseCommand):
courses = filtered_courses courses = filtered_courses
for course in courses: for course in courses:
users = CourseEnrollment.users_enrolled_in(course.id) users = CourseEnrollment.objects.users_enrolled_in(course.id)
# If one or more users were specified by the caller, just use those ones... # If one or more users were specified by the caller, just use those ones...
if user_ids is not None: if user_ids is not None:
filtered_users = [] filtered_users = []
......
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