aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
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"),
+]