'Return url for the handler.'

def _url(self, cid=(-1)):

    cid = (cid if (cid > 0) else self._id)
    return reverse_course_url('certificates.certificates_detail_handler', self.course.id, kwargs={'certificate_id': cid})
