def render(self, context, instance, placeholder): context['story_list'] = homepage_story_list(instance.num_items) return context