Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
c8854013
Commit
c8854013
authored
Sep 15, 2020
by
Laury Bueno
Browse files
[Certification] Update query for CertificateTemplate
parent
28951d9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
courses/certification/views.py
courses/certification/views.py
+1
-2
No files found.
courses/certification/views.py
View file @
c8854013
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment