(self, tag, url)
return  Dict2Object(model)
tag model

        args:
            tag: the tag
            url: the entry url tagged by this tag

        reference:
            template/modules/tag.html, template/widgets/tag.html
tag model
tag model
def tag(self, tag, url):
        """
        tag model

        args:
            tag: the tag
            url: the entry url tagged by this tag

        reference:
            template/modules/tag.html, template/widgets/tag.html
        """
        model = {
            'name':tag,
            'count':1,
            'rank':config.ranks,
            'urls':[url]
        }
        return  Dict2Object(model)
def tag ( self , tag , url ) : model = { 'name' : tag , 'count' : 1 , 'rank' : config . ranks , 'urls' : [ url ] } return Dict2Object ( model )