def evidence_url(user_id, course_key):
 return ((site_prefix() + reverse('certificates:html_view', kwargs={'user_id': user_id, 'course_id': unicode(course_key)})) + '?evidence_visit=1')

def evidence_url ( user_id , course_key ) : return ( ( site_prefix ( ) + reverse ( 'certificates:html_view' , kwargs = { 'user_id' : user_id , 'course_id' : unicode ( course_key ) } ) ) + '?evidence_visit=1' )
generates a url to the users certificate html view .