摘要: 1.准备视图函数search() @app.route('/search/') def search(): 2.修改base.html 中搜索输入框所在的 a.<form action="{{ url_for('search') }}" method="get"> b. <input name="q 阅读全文
posted @ 2017-12-20 19:31 086黄向薇 阅读(183) 评论(0) 推荐(0)