diff options
author | Alban Gruin | 2017-11-17 16:11:55 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-27 12:11:30 +0100 |
commit | b219f1248fa84eb2b015a5a04f80905dad8904ae (patch) | |
tree | a163bfe58f5642c511b023de6bfaef7ec70cd8c4 | |
parent | 3991efeb9af75ad55ec373422da3c11ea2d36e6e (diff) |
Page principale de l’emploi du temps des salles
-rw-r--r-- | urls.py | 1 | ||||
-rw-r--r-- | views.py | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,7 @@ from . import feeds, views urlpatterns = [ url(r"^$", views.index, name="index"), url(r"^pages/", include("django.contrib.flatpages.urls")), + url(r"^salles/", views.rooms, name="rooms"), url(r"^(?P<year_slug>[-\w]+)/$", views.mention_list, name="mentions"), url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/$", views.group_list, name="groups"), url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/$", views.timetable, name="timetable"), @@ -96,5 +96,8 @@ def calendars(request, year_slug, timetable_slug, group_slug): return render(request, "calendars.html", {"group": group, "groups": groups}) +def rooms(request): + return render(request, "index.html") + def ctx_processor(request): return {"celcatsanitizer_version": edt.VERSION} |