figures/sites.py
def course_enrollments_for_course(course_id):
    """Return a queryset of all `CourseEnrollment` records for a course

    Relies on the fact that course_ids are globally unique
    """
    return CourseEnrollment.objects.filter(course_id=as_course_key(course_id))
Return a queryset of all `CourseEnrollment` records for a course

    Relies on the fact that course_ids are globally unique
    
Return a queryset of all `CourseEnrollment` records for a course
Relies on the fact that course_ids are globally unique
Return a queryset of all ` CourseEnrollment ` records for a course Relies on the fact that course_ids are globally unique
def course_enrollments_for_course(course_id):
    return CourseEnrollment.objects.filter(course_id=as_course_key(course_id))
def course_enrollments_for_course ( course_id ) : return CourseEnrollment . objects . filter ( course_id = as_course_key ( course_id ) )
Return a queryset of all `CourseEnrollment` records for a course
Relies on the fact that course_ids are globally unique
Return a queryset of all ` CourseEnrollment ` records for a course Relies on the fact that course_ids are globally unique
"""Return a queryset of all `CourseEnrollment` records for a course

    Relies on the fact that course_ids are globally unique
    """
course_id