CourseQuerySet¶ Qualified name: tin.apps.courses.models.CourseQuerySet class CourseQuerySet(model=None, query=None, using=None, hints=None)[source]¶ Bases: QuerySet Provide filtering utilities for courses. Methods filter_editable Filter courses a user can edit. filter_visible Filters if a course is visible to a user. Attributes filter_editable(user)[source]¶ Filter courses a user can edit. filter_visible(user)[source]¶ Filters if a course is visible to a user. Admins can see all courses, teachers can only see course they teach, and students can only see non-archived courses OR courses that have permission “r” or “w”