aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorAlban Gruin2017-01-20 14:37:49 +0100
committerAlban Gruin2017-01-20 14:37:49 +0100
commita4c9f9027c443a32ff3475dc292c7495f685b651 (patch)
treefa5bb432284ad6964519e05c79e93cad4a45aae3 /urls.py
parent5349208724305c9ec1ea4ab1c51af9969dc586e0 (diff)
Affichage des emplois du temps par semaine
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 41b61a9..46a15cc 100644
--- a/urls.py
+++ b/urls.py
@@ -4,5 +4,5 @@ from . import views
urlpatterns = [
url(r"^$", views.index, name="index"),
- url(r"^(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/$", views.timetable, name="timetable"),
+ url(r"^(?P<timetable_slug>[-\w]+)/(?P<year>[0-9]{4})/(?P<week>[0-53]{1,2})/(?P<group_slug>[-\w]+)/$", views.timetable, name="timetable"),
]