会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
109-梁浩辉
博客园
首页
新随笔
联系
管理
订阅
2017年12月19日
实现搜索功能
摘要: 1、准备视图函数search() 2、修改base.html 中搜索输入框所在的 <form action="{{ url_for('search') }}" method="get"> <input name="q" type="text" placeholder="请输入关键字"> 3、完成视图
阅读全文
posted @ 2017-12-19 21:36 109-梁浩辉
阅读(200)
评论(0)
推荐(0)
编辑
公告