From 754184b1b1d610b33f7a657c897ef80eeda473cd Mon Sep 17 00:00:00 2001 From: alazo Date: Fri, 5 May 2017 17:12:08 +0200 Subject: [PATCH] Ajouter Didactique --- cms/views.py | 1 + templates/cms/module_detail.html | 1 + 2 files changed, 2 insertions(+) diff --git a/cms/views.py b/cms/views.py index bcd0ce6..d26db08 100644 --- a/cms/views.py +++ b/cms/views.py @@ -34,6 +34,7 @@ class HomeView(TemplateView): for d in Domaine.objects.all().order_by('code'): context[d.code] = d + for c in Processus.objects.all().order_by('code'): context[c.code] = c diff --git a/templates/cms/module_detail.html b/templates/cms/module_detail.html index d30afb4..9381379 100644 --- a/templates/cms/module_detail.html +++ b/templates/cms/module_detail.html @@ -17,6 +17,7 @@ {% for sc in c.souscompetence_set.all %}    -- {{sc.nom}}
{%endfor %}{% endif %}{% endfor %} Objectifs à atteindre{% for c in object.objectif_set.all %}- {{c}}
{% endfor %} +Didactique{{ object.didactique }} Evaluation{{object.evaluation|linebreaksbr}} Type{{object.type}}, obligatoire