aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorAlban Gruin2017-10-27 09:38:50 +0200
committerAlban Gruin2017-10-27 09:38:50 +0200
commitdf3cb623a79d925e6af048bc88e607094c6b692e (patch)
tree87c60fb6e5461cb6780dbb1d9037f0bfabf476ee /urls.py
parent827641acd0b2c64feb704bae989b139458a3d0ca (diff)
Ajout de l’url pour avoir un calendrier correspondant seulement à un groupe.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index 58cf019..d269400 100644
--- a/urls.py
+++ b/urls.py
@@ -23,6 +23,7 @@ urlpatterns = [
url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/$", views.group_list, name="groups"),
url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/$", views.timetable, name="timetable"),
url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/calendar.ics$", feeds.IcalFeed(), name="ics"),
+ url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/calendar-group.ics$", feeds.IcalOnlyOneFeed(), name="ics-group"),
url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/feed.atom$", feeds.AtomFeed(), name="atom"),
url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/feed.rss$", feeds.RSSFeed(), name="rss"),
url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/(?P<group_slug>[-\w]+)/(?P<year>[0-9]{4})/(?P<week>[0-4]?[0-9]|5[0-3])/$", views.timetable, name="timetable"),