Plus-value CFC-ASE_2
This commit is contained in:
parent
6d55d479b3
commit
e0ac9e8c79
1 changed files with 4 additions and 1 deletions
|
|
@ -214,9 +214,12 @@ class ModulePDF(DetailView):
|
||||||
str_comp = ''
|
str_comp = ''
|
||||||
for c in m.competence_set.all():
|
for c in m.competence_set.all():
|
||||||
str_comp += '- {0} ({1})\n'.format(c.nom, c.code)
|
str_comp += '- {0} ({1})\n'.format(c.nom, c.code)
|
||||||
|
"""
|
||||||
if self.request.user.is_authenticated:
|
if self.request.user.is_authenticated:
|
||||||
|
|
||||||
for sc in c.souscompetence_set.all():
|
for sc in c.souscompetence_set.all():
|
||||||
str_comp += ' -- {0}\n'.format(sc.nom)
|
str_comp += ' -- {0}\n'.format(sc.nom)
|
||||||
|
"""
|
||||||
|
|
||||||
str_scom = ''
|
str_scom = ''
|
||||||
for c in m.competence_set.all():
|
for c in m.competence_set.all():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue