def get(self):
"""
queries the database for the 10 most recent
blog posts and orders them descending
"""
posts = db.GqlQuery("SELECT * "
"FROM Post "
"ORDER BY created DESC LIMIT 10")
self.render("front.html", posts=posts)
评论列表
文章目录