@register.inclusion_tag('sponsors/templatetags/featured_sponsor_rotation.html')
def featured_sponsor_rotation():
 return {'sponsors': Sponsor.objects.featured()}

@ register . inclusion_tag ( 'sponsors/templatetags/featured_sponsor_rotation.html' ) def featured_sponsor_rotation ( ) : return { 'sponsors' : Sponsor . objects . featured ( ) }
retrieve featured sponsors for rotation .