def og_description(self):
if self.archetype_name:
p = inflect.engine()
archetype_s = titlecase.titlecase(p.a(self.archetype_name))
else:
archetype_s = 'A'
description = '{archetype_s} deck by {author}'.format(archetype_s=archetype_s, author=self.person.decode('utf-8'))
return description
评论列表
文章目录