diff options
author | Alban Gruin | 2017-10-27 21:51:12 +0200 |
---|---|---|
committer | Alban Gruin | 2017-10-27 21:51:12 +0200 |
commit | 7ef57a0226fa25b8ea5e9a6ff5526889dc300649 (patch) | |
tree | ddcac97876e52c0e64cb8d1a4431cb9d087f5ef2 /urls.py | |
parent | df3cb623a79d925e6af048bc88e607094c6b692e (diff) |
Ajout d’une page pour lister les calendriers disponibles
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ urlpatterns = [ url(r"^(?P<year_slug>[-\w]+)/$", views.mention_list, name="mentions"), 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]+)/calendars$", views.calendar_list, name="calendar-list"), 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"), |