aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorAlban Gruin2017-11-18 13:35:37 +0100
committerAlban Gruin2017-11-27 12:11:30 +0100
commit959afb011f5e98e56f88a455228eab32579c9433 (patch)
tree16f44cb0d076796360d7d5f79581f3e489c04a39 /urls.py
parent1b0fbf29a484b16de31ac5df1b3fded39be95e97 (diff)
Contenu de la page des emplois du temps
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 4de8103..b0ca9f4 100644
--- a/urls.py
+++ b/urls.py
@@ -19,7 +19,8 @@ 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"^salles/$", views.rooms, name="rooms"),
+ url(r"^salles/(?P<room_slug>[-\w]+)$", views.room_timetable),
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"),