2017年12月12日

评论列表显示及排序,个人中心显示

摘要: 1.显示所有评论{% for foo in ques.comments %} 2.所有评论排序uquestion = db.relationship('Question', backref=db.backref('comments', order_by=creat_time.desc)) 3.显示评 阅读全文

posted @ 2017-12-12 19:59 046余博智 阅读(191) 评论(0) 推荐(0) 编辑

导航