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
b59467bd
Commit
b59467bd
authored
Aug 17, 2021
by
Matheus Miranda
Browse files
Merge branch 'develop' into 'master'
Add name for default certificates See merge request
!81
parents
2c4e4d0d
02cf9c28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
courses/certification/signals.py
courses/certification/signals.py
+1
-1
No files found.
courses/certification/signals.py
View file @
b59467bd
...
...
@@ -27,7 +27,7 @@ def course_created(sender, created, instance, **kwargs):
instance
.
save
()
for
type_
in
CertificateTemplate
.
TYPES
:
ct
=
CertificateTemplate
(
course
=
instance
,
document_type
=
type_
[
0
])
ct
=
CertificateTemplate
(
course
=
instance
,
document_type
=
type_
[
0
]
,
name
=
'Base '
+
instance
.
name
)
ct
.
save
()
else
:
foruns
=
Forum
.
objects
.
filter
(
id
=
instance
.
forum
.
id
)
...
...
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