figures/sites.py
def student_modules_for_course_enrollment(ce):
    """Return a queryset of all `StudentModule` records for a `CourseEnrollment`1

    Relies on the fact that course_ids are globally unique
    """
    return StudentModule.objects.filter(student=ce.user, course_id=ce.course_id)
Return a queryset of all `StudentModule` records for a `CourseEnrollment`1

    Relies on the fact that course_ids are globally unique
    
Return a queryset of all `StudentModule` records for a `CourseEnrollment`1
Relies on the fact that course_ids are globally unique
Return a queryset of all ` StudentModule ` records for a ` CourseEnrollment ` 1 Relies on the fact that course_ids are globally unique
def student_modules_for_course_enrollment(ce):
    return StudentModule.objects.filter(student=ce.user, course_id=ce.course_id)
def student_modules_for_course_enrollment ( ce ) : return StudentModule . objects . filter ( student = ce . user , course_id = ce . course_id )
Return a queryset of all `StudentModule` records for a `CourseEnrollment`1
Relies on the fact that course_ids are globally unique
Return a queryset of all ` StudentModule ` records for a ` CourseEnrollment ` 1 Relies on the fact that course_ids are globally unique
"""Return a queryset of all `StudentModule` records for a `CourseEnrollment`1

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