aboutsummaryrefslogtreecommitdiff
path: root/feeds.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-09 11:36:49 +0200
committerAlban Gruin2017-09-09 11:36:49 +0200
commit14058b4e9b7524cab4241b6188c13e6b97269370 (patch)
tree5add90924f397c5135d9e9d5dddf44b0694769c3 /feeds.py
parent4d47946f07bc315db716dbddd1687817e3cae6ff (diff)
Flux atom valide
Diffstat (limited to 'feeds.py')
-rw-r--r--feeds.py4
1 files changed, 4 insertions, 0 deletions
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]