'Return a list of courses visible to the user.'

def get_queryset(self):

    form = CourseListGetForm(self.request.query_params, initial={'requesting_user': self.request.user})
    if (not form.is_valid()):
        raise ValidationError(form.errors)
    return list_courses(self.request, form.cleaned_data['username'], org=form.cleaned_data['org'], filter_=form.cleaned_data['filter_'])
