diff options
Diffstat (limited to 'app/posts/build.py')
-rw-r--r-- | app/posts/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/posts/build.py b/app/posts/build.py index b49b925..8b4cee2 100644 --- a/app/posts/build.py +++ b/app/posts/build.py @@ -114,11 +114,11 @@ class BuildJrnl(BuildNew): class BuildEssays(BuildNew): def get_model_queryset(self): - return self.model.objects.filter(post_type=PostType.ESSAY).filter(status__exact=1).order_by('-pub_date') + return self.model.objects.filter(post_type=PostType.NOTE).filter(status__exact=1).order_by('-pub_date') def build(self): self.build_list_view( - base_path=reverse("essay-list:list"), + base_path=reverse("notes:list"), paginate_by=50 ) self.build_detail_view() |