summaryrefslogtreecommitdiff
path: root/feeds.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-19 12:06:47 -0600
committerDan McGee <dan@archlinux.org>2013-01-19 12:08:31 -0600
commit1a7e5d22f1c4e948c624d26b4d8c1ed30189acfe (patch)
treefeb3473bb7a31868910a45bc481c471f765bf565 /feeds.py
parent8cfaa39a0464f7ee35af76473d3e73ae587a6cb8 (diff)
Add basic release list and details views
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'feeds.py')
-rw-r--r--feeds.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/feeds.py b/feeds.py
index c68d3b0e..9721f41c 100644
--- a/feeds.py
+++ b/feeds.py
@@ -175,9 +175,6 @@ class ReleaseFeed(Feed):
def item_description(self, item):
return item.info_html()
- # TODO: individual release pages
- item_link = '/download/'
-
def item_pubdate(self, item):
return datetime.combine(item.release_date, time()).replace(tzinfo=utc)
@@ -185,7 +182,7 @@ class ReleaseFeed(Feed):
# http://diveintomark.org/archives/2004/05/28/howto-atom-id
date = item.release_date
return 'tag:%s,%s:%s' % (Site.objects.get_current().domain,
- date.strftime('%Y-%m-%d'), item.iso_url())
+ date.strftime('%Y-%m-%d'), item.get_absolute_url())
def item_enclosure_url(self, item):
domain = Site.objects.get_current().domain