From f02423e129970b1857c5a54e79c7046061ddd069 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 13 Feb 2021 19:07:30 -0500 Subject: src: dusted off RSS feed by popular demand --- app/posts/views/src_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/posts') diff --git a/app/posts/views/src_views.py b/app/posts/views/src_views.py index c56b723..59c371c 100644 --- a/app/posts/views/src_views.py +++ b/app/posts/views/src_views.py @@ -65,7 +65,7 @@ class SrcRSSFeedView(Feed): description_template = 'feeds/blog_description.html' def items(self): - return SrcPost.objects.filter(status__exact=1).order_by('-pub_date')[:10] + return Post.objects.filter(status__exact=1).filter(post_type=PostType.SRC).order_by('-pub_date')[:10] """ -- cgit v1.2.3-70-g09d2