diff options
author | Alban Gruin | 2017-09-09 15:19:42 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-09 15:19:42 +0200 |
commit | 98242cad296b36423daf77e572d7735478d33f1d (patch) | |
tree | 71f753a3172008859048832f4a941c258168bc96 /urls.py | |
parent | c7fce37ad4c8dee76f5d58eafefd0c73a03ea00c (diff) |
Ajout d’un flux RSS
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,5 +23,6 @@ urlpatterns = [ 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]+)/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"), ] |