The preferred form is to use CourseKey.from_string() instead of SlashSeparatedCourseKey.from_deprecated_string().