From 4f7c29476855d1bf49d5d5400ed7f79d3d4a60b8 Mon Sep 17 00:00:00 2001 From: alazo Date: Fri, 16 Jun 2017 09:07:13 +0200 Subject: [PATCH] Num. des sous-comp. --- cms/migrations/0006_auto_20170616_0906.py | 25 +++++++++++++++++++++++ templates/cms/module_detail.html | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 cms/migrations/0006_auto_20170616_0906.py 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 %}