diff --git a/cms/migrations/0006_auto_20170616_0906.py b/cms/migrations/0006_auto_20170616_0906.py new file mode 100644 index 0000000..12b0bc9 --- /dev/null +++ b/cms/migrations/0006_auto_20170616_0906.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.1 on 2017-06-16 07:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('cms', '0005_auto_20170503_2043'), + ] + + operations = [ + migrations.AlterField( + model_name='module', + name='periode_presentiel', + field=models.IntegerField(verbose_name='Présentiel'), + ), + migrations.AlterField( + model_name='module', + name='pratique_prof', + field=models.IntegerField(default=0, verbose_name='Pratique prof.'), + ), + ] diff --git a/templates/cms/module_detail.html b/templates/cms/module_detail.html index daeec28..7f1e5f4 100644 --- a/templates/cms/module_detail.html +++ b/templates/cms/module_detail.html @@ -16,7 +16,7 @@ Plus-value sur le CFC ASE {% for c in object.competence_set.all %} {% for sc in c.souscompetence_set.all %} -- {{sc.nom}}
+- {{sc.nom}} (voir {{sc.competence.code}})
{%endfor %} {% endfor %}