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 }}
+ {% for group in groups %}{% if group.timetable.id == timetable.id %}
+
+
Aucun emploi du temps à afficher
{% endfor %} diff --git a/templates/timetables_list.html b/templates/timetables_list.html deleted file mode 100644 index d4c3579..0000000 --- a/templates/timetables_list.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "index.html" %} - -{% block body %}{% for timetable in timetables %} -