diff options
author | Alban Gruin | 2017-01-19 21:55:29 +0100 |
---|---|---|
committer | Alban Gruin | 2017-01-19 21:55:29 +0100 |
commit | d17c1152615162e33703dd67b92b64d0cbf5b63d (patch) | |
tree | f2db90f8c83c3da626090efee9133c0754849530 /urls.py | |
parent | f55e7ff672ba18291d7361c4c8649e174c9fa556 (diff) |
Travail initial sur les vues
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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"), +] |