Commit ce153691 authored by fred's avatar fred
Browse files

misc: publish latest 20 items in rss feeds

parent 186b2e90
......@@ -676,7 +676,7 @@ class PodcastsFeed(Feed):
def items(self):
return SoundFile.objects.select_related().filter(
def item_title(self, item):
if item.fragment:
......@@ -715,7 +715,7 @@ class RssNewsFeed(Feed):
description_template = 'feed/newsitem.html'
def items(self):
return NewsItem.objects.order_by('-date')[:10]
return NewsItem.objects.order_by('-date')[:20]
rss_news_feed = RssNewsFeed()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment