diff options
author | Alban Gruin | 2017-10-27 09:38:50 +0200 |
---|---|---|
committer | Alban Gruin | 2017-10-27 09:38:50 +0200 |
commit | df3cb623a79d925e6af048bc88e607094c6b692e (patch) | |
tree | 87c60fb6e5461cb6780dbb1d9037f0bfabf476ee | |
parent | 827641acd0b2c64feb704bae989b139458a3d0ca (diff) |
Ajout de l’url pour avoir un calendrier correspondant seulement à un groupe.
-rw-r--r-- | urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"), |