'Override the default get_object to allow a custom getter for the CCX'

def get_object(self, course_id, is_ccx=False):

    (course_object, course_key, error_code, http_status) = get_valid_course(course_id, is_ccx)
    self.check_object_permissions(self.request, course_object)
    return (course_object, course_key, error_code, http_status)
