Commit 7bb6d6f2 by Calen Pennington

Fix cohort.course_id naming

parent eb11ba76
......@@ -246,7 +246,7 @@ def add_user_to_cohort(cohort, username_or_email):
previous_cohort = None
course_cohorts = CourseUserGroup.objects.filter(
course_id=cohort.course_key,
course_id=cohort.course_id,
users__id=user.id,
group_type=CourseUserGroup.COHORT
)
......
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