]> git.0d.be Git - panikweb.git/blobdiff - panikweb/views.py
up to 50 the number of podcats in feeds
[panikweb.git] / panikweb / views.py
index 6e5209bbf0707175b5e8d167b126f9d4423fe3e0..8bb25f399a7064bf68b40de9d47889cc7fb48e77 100644 (file)
@@ -744,7 +744,7 @@ class PodcastsFeed(Feed):
 
     def items(self):
         return SoundFile.objects.select_related().filter(
-                podcastable=True).order_by('-creation_timestamp')[:20]
+                podcastable=True).order_by('-creation_timestamp')[:50]
 
     def item_title(self, item):
         if item.fragment:
@@ -835,7 +835,7 @@ class EmissionPodcastsFeed(PodcastsFeed):
     def items(self):
         return SoundFile.objects.select_related().filter(
                 podcastable=True,
-                episode__emission__slug=self.emission.slug).order_by('-creation_timestamp')[:20]
+                episode__emission__slug=self.emission.slug).order_by('-creation_timestamp')[:50]
 
 emission_podcasts_feed = EmissionPodcastsFeed()