diff options
author | Alban Gruin | 2017-10-05 22:11:59 +0200 |
---|---|---|
committer | Alban Gruin | 2017-10-05 22:11:59 +0200 |
commit | f6e81c1a165b983316b49bdd433cd12cfebe1897 (patch) | |
tree | d638e3cf6335dcab46a415c5cb9c5946ae02dbac /feeds.py | |
parent | ae3358c1296a02352409910a9ffcc2307d5ea87a (diff) | |
parent | 76e344f68c1616693e93791f55348272cc61267e (diff) |
Merge branch 'stable/0.10.z' into prod/pa1ch/0.10.zv0.10.1-pa1ch
Diffstat (limited to 'feeds.py')
-rw-r--r-- | feeds.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -29,7 +29,7 @@ from .templatetags.rooms import format_rooms from .utils import get_current_or_next_week, get_week, group_courses ICAL_NAMES = ["uid", "summary", "description", "location", - "start", "dtstart", "dtend", "dtstamp"] + "start", "dtstart", "dtend", "dtstamp", "categories"] class IcalFeedGenerator(SyndicationFeed): @@ -66,6 +66,9 @@ class IcalFeed(Feed): else: return group + def item_categories(self, item): + return (item.type,) + def item_description(self, item): return item.notes |