摘要: 准备视图函数search() 修改base.html 中搜索输入框所在的 查找 完成视图函数search() 获取搜索关键字q = request.args.get('q’) 条件查询qu = Question.query.filter(Question.title.contains(q)).order_by('-creat_... 阅读全文
posted @ 2017-12-19 11:40 037吴宜珊 阅读(122) 评论(0) 推荐(0) 编辑