Skip to content

Commit

Permalink
Remove duplicate context setting
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jun 16, 2015
1 parent 78b074f commit c54a2ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions djangocms_blog/cms_plugins.py
Expand Up @@ -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


Expand All @@ -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


Expand Down

0 comments on commit c54a2ef

Please sign in to comment.