def render_cert_by_uuid(request, certificate_uuid):
 try:
  certificate = GeneratedCertificate.eligible_certificates.get(verify_uuid=certificate_uuid, status=CertificateStatuses.downloadable)
  return render_html_view(request, certificate.user.id, unicode(certificate.course_id))
 except GeneratedCertificate.DoesNotExist:
  raise Http404

def render_cert_by_uuid ( request , certificate_uuid ) : try : certificate = GeneratedCertificate . eligible_certificates . get ( verify_uuid = certificate_uuid , status = CertificateStatuses . downloadable ) return render_html_view ( request , certificate . user . id , unicode ( certificate . course_id ) ) except GeneratedCertificate . DoesNotExist : raise Http404
this public view generates an html representation of the specified certificate .