diff options
author | Alban Gruin | 2017-09-09 11:36:49 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-09 11:36:49 +0200 |
commit | 14058b4e9b7524cab4241b6188c13e6b97269370 (patch) | |
tree | 5add90924f397c5135d9e9d5dddf44b0694769c3 /feeds.py | |
parent | 4d47946f07bc315db716dbddd1687817e3cae6ff (diff) |
Flux atom valide
Diffstat (limited to 'feeds.py')
-rw-r--r-- | feeds.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -77,6 +77,7 @@ class IcalFeed(Feed): class AtomFeed(Feed): + author_name = "CelcatSanitizer" feed_type = Atom1Feed def get_object(self, request, year_slug, timetable_slug, group_slug): @@ -104,6 +105,9 @@ class AtomFeed(Feed): def item_description(self, item): return item.description + def item_updateddate(self, item): + return item.date + def items(self, obj): template = loader.get_template("timetable_common.html") group = obj[0] |