2017年12月13日

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

摘要: 显示所有评论 {% for foo in ques.comments %} 所有评论排序 uquestion = db.relationship('Question', backref=db.backref('comments', order_by=creat_time.desc)) 显示评论条数 阅读全文
posted @ 2017-12-13 15:58 076陈良舒 阅读(106) 评论(0) 推荐(0) 编辑