示例#1
0
 def get_blogs(self):
     return Blog.find_by_author_id(self._id)
示例#2
0
 def get_blogs(self):
     blogs = Blog.find_by_author_id(self._id)
     if blogs is not None:
         return blogs
示例#3
0
 def get_blogs(self):  # returns list of Blog objects with this authors author_id
     return Blog.find_by_author_id(self._id)
示例#4
0
 def get_blogs(self):
     return Blog.find_by_author_id(self._id)
示例#5
0
 def get_blogs(self):
     # get all the blogs that have author_id
     return Blog.find_by_author_id(self._id)
示例#6
0
文件: user.py 项目: tuannvm/flask
 def get_blogs(self):
     blogs = Blog.find_by_author_id(self._id)
     if blogs is not None:
         return blogs