From 3887c54d577e2e6a160203c5f725bdfce1d0f4ff Mon Sep 17 00:00:00 2001 From: michaelglenister Date: Mon, 21 Jul 2025 10:50:07 +0200 Subject: [PATCH] Show popular stories on blog view --- pombola/south_africa/templates/info/_blog_sidebar_story.html | 2 -- pombola/south_africa/views/infoviews.py | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pombola/south_africa/templates/info/_blog_sidebar_story.html b/pombola/south_africa/templates/info/_blog_sidebar_story.html index f136483b5..579b151fd 100644 --- a/pombola/south_africa/templates/info/_blog_sidebar_story.html +++ b/pombola/south_africa/templates/info/_blog_sidebar_story.html @@ -1,6 +1,4 @@ -{% load content_props %} -{% load random_numbers %}
diff --git a/pombola/south_africa/views/infoviews.py b/pombola/south_africa/views/infoviews.py index 8ae104b7e..19e1966f7 100644 --- a/pombola/south_africa/views/infoviews.py +++ b/pombola/south_africa/views/infoviews.py @@ -3,8 +3,6 @@ from django.views.generic import DetailView, ListView from django.views.generic.base import ContextMixin -from pombola.core.views import CommentArchiveMixin - from info.models import InfoPage, Category, Tag, ViewCount from django.conf import settings @@ -98,5 +96,5 @@ class SAInfoBlogList(BlogMixin,ListView): paginate_by = settings.INFO_POSTS_PER_LIST_PAGE template_name = 'info/blog_list.html' -class SAInfoBlogView(CommentArchiveMixin, InfoBlogView): +class SAInfoBlogView(BlogMixin, InfoBlogView): pass