From: Frédéric Péters Date: Tue, 17 Mar 2020 19:22:26 +0000 (+0100) Subject: up to 50 the number of podcats in feeds X-Git-Tag: v2021~191 X-Git-Url: https://git.0d.be/?p=panikweb.git;a=commitdiff_plain;h=42eb26ac0b75768de0e01e28e92bda4da0613ec8;ds=sidebyside up to 50 the number of podcats in feeds --- diff --git a/panikweb/views.py b/panikweb/views.py index 6e5209b..8bb25f3 100644 --- a/panikweb/views.py +++ b/panikweb/views.py @@ -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()