From 14058b4e9b7524cab4241b6188c13e6b97269370 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sat, 9 Sep 2017 11:36:49 +0200 Subject: Flux atom valide --- feeds.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/feeds.py b/feeds.py index 015a835..dffefc9 100644 --- a/feeds.py +++ b/feeds.py @@ -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] -- cgit v1.2.1