From 36b4c60aacae827b5ff8b6125bdfd70d7cf2a3a0 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Thu, 7 Sep 2017 22:40:57 +0200 Subject: J’ai fait des trucs mais je me suis rendu compte que c’est pas terrible, du coup je fais un commit tout pété mais ça va vite changer vous inquiétez pas. --- templates/group_list.html | 9 +++++++++ templates/mention_list.html | 2 +- templates/timetables_list.html | 9 --------- urls.py | 3 ++- views.py | 8 ++++---- 5 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 templates/group_list.html delete mode 100644 templates/timetables_list.html diff --git a/templates/group_list.html b/templates/group_list.html new file mode 100644 index 0000000..d4c3579 --- /dev/null +++ b/templates/group_list.html @@ -0,0 +1,9 @@ +{% extends "index.html" %} + +{% block body %}{% for timetable in timetables %} +
+

{{ timetable.name }}

+ +
{% endfor %}{% endblock %} diff --git a/templates/mention_list.html b/templates/mention_list.html index 3c455af..142a17a 100644 --- a/templates/mention_list.html +++ b/templates/mention_list.html @@ -6,7 +6,7 @@

Choisissez votre mention