Not `run` but `course`. Also, what's the intent of the 'regex' statement below. Was this supposed to do case-insensitive search? If so, then it should pass `re.compile(ur'^{}$'.format(course_id.org), re.IGNORE_CASE)` and same pattern for course_id.course.