猪精雅0

导航

2017年12月20日 #

实现搜索功能

摘要: 准备视图函数search() 修改base.html 中搜索输入框所在的 <form action="{{ url_for('search') }}" method="get"> <input name="q" type="text" placeholder="请输入关键字"> 完成视图函数sear 阅读全文

posted @ 2017-12-20 16:05 102林晓霞 阅读(103) 评论(0) 推荐(0) 编辑