summaryrefslogtreecommitdiff
path: root/app/posts/views
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-03-09 08:13:03 -0600
committerluxagraf <sng@luxagraf.net>2024-03-09 08:13:03 -0600
commit10c3cf3b9fe30ea951e5ad2eaf592108a3301db4 (patch)
tree5d9f777f2213d0aa0c86fc4ee829547ebd524e3d /app/posts/views
parent9b496f3612c0dd8161bf2b20abb7901e86330e70 (diff)
posts: simplified post_types
Diffstat (limited to 'app/posts/views')
-rw-r--r--app/posts/views/range_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/views/range_views.py b/app/posts/views/range_views.py
index dc09cee..b358051 100644
--- a/app/posts/views/range_views.py
+++ b/app/posts/views/range_views.py
@@ -24,7 +24,7 @@ class RangeListView(PaginatedListView):
"""
model = Post
template_name = "posts/range_list.html"
- queryset = Post.objects.filter(post_type__in=[PostType.ESSAY,PostType.FILM,PostType.CRAFT,PostType.REVIEW],status=1).order_by('-pub_date')
+ queryset = Post.objects.filter(post_type__in=[PostType.ESSAY,PostType.FILM],status=1).order_by('-pub_date')
def get_context_data(self, **kwargs):
context = super(RangeListView, self).get_context_data(**kwargs)