aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorAlban Gruin2017-01-19 21:55:29 +0100
committerAlban Gruin2017-01-19 21:55:29 +0100
commitd17c1152615162e33703dd67b92b64d0cbf5b63d (patch)
treef2db90f8c83c3da626090efee9133c0754849530 /urls.py
parentf55e7ff672ba18291d7361c4c8649e174c9fa556 (diff)
Travail initial sur les vues
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/urls.py b/urls.py
new file mode 100644
index 0000000..41b61a9
--- /dev/null
+++ b/urls.py
@@ -0,0 +1,8 @@
+from django.conf.urls import url, handler404
+
+from . import views
+
+urlpatterns = [
+ url(r"^$", views.index, name="index"),
+ url(r"^(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/$", views.timetable, name="timetable"),
+]