diff options
author | luxagraf <sng@luxagraf.net> | 2023-05-07 09:29:45 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-05-07 09:29:45 -0400 |
commit | bc9e7257ad83e8d3bb71da0b8cac97ea6dc348aa (patch) | |
tree | 0383f4a5a82d9dc1418c46a33efa3f63d7ffac48 /app/posts/views/jrnl_views.py | |
parent | 1dde8abfac7a8f84f5ff30d424e417f5d6f0b273 (diff) |
posts: added films to build scripts and jrnl RSS
Diffstat (limited to 'app/posts/views/jrnl_views.py')
-rw-r--r-- | app/posts/views/jrnl_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/views/jrnl_views.py b/app/posts/views/jrnl_views.py index 6692b0f..bb50f6f 100644 --- a/app/posts/views/jrnl_views.py +++ b/app/posts/views/jrnl_views.py @@ -142,7 +142,7 @@ class JrnlRSSFeedView(Feed): description_template = 'feeds/blog_description.html' def items(self): - return Post.objects.filter(status__exact=1).filter(post_type=PostType.JRNL).order_by('-pub_date')[:10] + return Post.objects.filter(status__exact=1).filter(post_type__in=[PostType.JRNL,PostType.FILM]).order_by('-pub_date')[:10] def item_pubdate(self, item): """ |