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 19:04 083李笑晴 阅读(126) 评论(0) 推荐(0) 编辑

导航