def render(self, context, instance, placeholder):
entries = Entry.published.search(instance.query)<EOL>if instance.number_of_entries:<EOL><INDENT>entries = entries[:instance.number_of_entries]<EOL><DEDENT>context = super(CMSQueryEntriesPlugin, self).render(<EOL>context, instance, placeholder)<EOL>context['<STR_LIT>'] = entries<EOL>return context<EOL>
Update the context with plugin's data