@register.inclusion_tag('zinnia/tags/dummy.html')
def get_recent_entries(number=5, template='zinnia/tags/entries_recent.html'):
 return {'template': template, 'entries': Entry.published.all()[:number]}

@ register . inclusion_tag ( 'zinnia/tags/dummy.html' ) def get_recent_entries ( number = 5 , template = 'zinnia/tags/entries_recent.html' ) : return { 'template' : template , 'entries' : Entry . published . all ( ) [ : number ] }
return the most recent entries .