Commit c8854013 authored by Laury Bueno's avatar Laury Bueno
Browse files

[Certification] Update query for CertificateTemplate

parent 28951d9c
......@@ -184,8 +184,7 @@ class CourseCertificationDetailView(DetailView):
if certificate:
context['cert_template'] = CertificateTemplate.objects.get(
course=certificate.course_student.course,
document_type=certificate.document_type,
workspace=workspace
document_type=certificate.type,
)
# Interpolate data into text string
# {Nome} : certificate.student (name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment