def tag_structure(tag, site):
 return {'tag_id': tag.pk, 'name': tag.name, 'count': tag.count, 'slug': tag.name, 'html_url': ('%s://%s%s' % (PROTOCOL, site.domain, reverse('zinnia:tag_detail', args=[tag.name]))), 'rss_url': ('%s://%s%s' % (PROTOCOL, site.domain, reverse('zinnia:tag_feed', args=[tag.name])))}

def tag_structure ( tag , site ) : return { 'tag_id' : tag . pk , 'name' : tag . name , 'count' : tag . count , 'slug' : tag . name , 'html_url' : ( '%s://%s%s' % ( PROTOCOL , site . domain , reverse ( 'zinnia:tag_detail' , args = [ tag . name ] ) ) ) , 'rss_url' : ( '%s://%s%s' % ( PROTOCOL , site . domain , reverse ( 'zinnia:tag_feed' , args = [ tag . name ] ) ) ) }
a tag structure .