Commit b59467bd authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Merge branch 'develop' into 'master'

Add name for default certificates

See merge request !81
parents 2c4e4d0d 02cf9c28
......@@ -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)
......
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