2017年12月20日
摘要: 1.准备视图函数search() 2.修改base.html 中搜索输入框所在的 <form action="{{ url_for('search') }}" method="get"> <input name="q" type="text" placeholder="请输入关键字"> 3.完成视图 阅读全文
posted @ 2017-12-20 11:21 133陈贝 阅读(250) 评论(0) 推荐(0) 编辑