Plus-value CFC-ASE_2

This commit is contained in:
alazo 2017-05-16 20:48:55 +02:00
parent 6d55d479b3
commit e0ac9e8c79

View file

@ -214,9 +214,12 @@ class ModulePDF(DetailView):
str_comp = ''
for c in m.competence_set.all():
str_comp += '- {0} ({1})\n'.format(c.nom, c.code)
"""
if self.request.user.is_authenticated:
for sc in c.souscompetence_set.all():
str_comp += ' -- {0}\n'.format(sc.nom)
"""
str_scom = ''
for c in m.competence_set.all():