'Make a URL for a `url_name` using keyword args for url slots.
Automatically provides the course id.'

def make_url(self, url_name, **kwargs):

    kwargs['course_id'] = self.course.id.to_deprecated_string()
    url = reverse(url_name, kwargs=kwargs)
    return url
