From c54a2effcb17b21bee861c47149c536a1c461910 Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Tue, 16 Jun 2015 08:17:38 +0200 Subject: [PATCH] Remove duplicate context setting --- djangocms_blog/cms_plugins.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/djangocms_blog/cms_plugins.py b/djangocms_blog/cms_plugins.py index 3a10d019..c52d0de4 100644 --- a/djangocms_blog/cms_plugins.py +++ b/djangocms_blog/cms_plugins.py @@ -30,7 +30,6 @@ def render(self, context, instance, placeholder): context = super(BlogLatestEntriesPlugin, self).render(context, instance, placeholder) context['posts_list'] = instance.get_posts(context['request']) context['TRUNCWORDS_COUNT'] = get_setting('POSTS_LIST_TRUNCWORDS_COUNT') - context['placeholder'] = placeholder return context @@ -48,7 +47,6 @@ def render(self, context, instance, placeholder): context = super(BlogLatestEntriesPluginCached, self).render(context, instance, placeholder) context['posts_list'] = instance.get_posts() context['TRUNCWORDS_COUNT'] = get_setting('POSTS_LIST_TRUNCWORDS_COUNT') - context['placeholder'] = placeholder return context