def tag_category(): tags = Tag.by_all() categorys = Category.by_all() return {'tags': tags, 'categorys': categorys}