'Add the course as a credit
Returns:
CreditCourse object'

def add_credit_course(self):

    credit_course = CreditCourse(course_key=self.course_key, enabled=True)
    credit_course.save()
    return credit_course
