'Returns the URL to use to enroll in the specified course.'

@staticmethod
def url_to_enroll(course_key):

    url_to_enroll = reverse('about_course', args=[unicode(course_key)])
    if settings.FEATURES.get('ENABLE_MKTG_SITE'):
        url_to_enroll = marketing_link('COURSES')
    return url_to_enroll
