'Returns a function that returns the course tab\'s URL.'

@property
def link_func(self):

    if self.view_name:
        return super(TabFragmentViewMixin, self).link_func
    def link_func(course, reverse_func):
        "    Returns    a    function    that    returns    the    course    tab's    URL.    "
        return reverse_func('course_tab_view', args=[course.id.to_deprecated_string(), self.type])
    return link_func
