aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorAlban Gruin2018-04-21 15:20:01 +0200
committerAlban Gruin2018-04-21 15:21:33 +0200
commita6d14aa482e322fcd1946ea2541272477b4f8c6b (patch)
treee8c32f4c75853e6917ea25ab35fdddb99b6a92cf /urls.py
parent7f0fa4871566050e283845ee0577603ded70df0f (diff)
Ajout d’une liste complète des groupes et d’une liste des semaines
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index b61bbbe..977ac8d 100644
--- a/urls.py
+++ b/urls.py
@@ -22,14 +22,17 @@ urlpatterns = [
path("salles/", views.rooms, name="rooms"),
path("salles/qsjps", views.qsjps, name="qsjps"),
path("salles/<slug:room_slug>/", views.room_timetable, name="room-timetable"),
+ path("salles/<slug:room_slug>/semaines", views.room_weeks, name="room-weeks"),
path("salles/<slug:room_slug>/<int:year>/<int:week>", views.room_timetable, name="room-timetable"),
path("<slug:year_slug>/", views.mention_list, name="mentions"),
path("<slug:year_slug>/<slug:timetable_slug>/", views.group_list, name="groups"),
+ path("<slug:year_slug>/<slug:timetable_slug>/tous", views.groups_all, name="groups-all"),
path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/", views.timetable, name="timetable"),
path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/calendars", views.calendars, name="calendars"),
path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/calendar.ics", feeds.IcalFeed(), name="ics"),
path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/calendar-group.ics", feeds.IcalOnlyOneFeed(), name="ics-group"),
path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/feed.atom", feeds.AtomFeed(), name="atom"),
path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/feed.rss", feeds.RSSFeed(), name="rss"),
+ path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/semaines", views.group_weeks, name="group-weeks"),
path("<slug:year_slug>/<slug:timetable_slug>/<slug:group_slug>/<int:year>/<int:week>/", views.timetable, name="timetable"),
]