@register.inclusion_tag('zinnia/tags/dummy.html')
def get_featured_entries(number=5, template='zinnia/tags/entries_featured.html'):
 return {'template': template, 'entries': Entry.published.filter(featured=True)[:number]}

@ register . inclusion_tag ( 'zinnia/tags/dummy.html' ) def get_featured_entries ( number = 5 , template = 'zinnia/tags/entries_featured.html' ) : return { 'template' : template , 'entries' : Entry . published . filter ( featured = True ) [ : number ] }
return the featured entries .