diff options
Diffstat (limited to 'app/posts/views.py')
-rw-r--r-- | app/posts/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/views.py b/app/posts/views.py index 29796c4..40368df 100644 --- a/app/posts/views.py +++ b/app/posts/views.py @@ -47,7 +47,7 @@ class PostTodoView(LoginRequiredMixin, ListView): def get_context_data(self, **kwargs): context = super(PostTodoView, self).get_context_data(**kwargs) - context['reviews'] = Note.objects.filter(plan=1) + context['reviews'] = Note.objects.filter(plan__in=[1,2,3]).exclude(status=4) return context |