结合Django和Bootstrap开发搜索框功能(详细教程,内含源代码,Windows平台开发)

上传者: qianbin3200896 | 上传时间: 2021-03-20 09:35:48 | 文件大小: 17KB | 文件类型: RAR
前端使用Bootstrap构建搜索框; 搜索框输入关键词按下回车,关键词数据以表单形式发送至后台服务器; 服务器收到请求,通过路由url解析后找到对应的视图处理函数进行处理; 视图处理函数从request.get中获得关键词数据,然后通过数据库匹配查找对应的数据信息并返回结果; 前端收到返回的页面内容进行渲染; 环境 python3.6.1     Django 1.11.14      windows 10

文件下载

资源详情

[{"title":"( 27 个子文件 17KB ) 结合Django和Bootstrap开发搜索框功能(详细教程,内含源代码,Windows平台开发)","children":[{"title":"searchDemo","children":[{"title":"manage.py <span style='color:#111;'> 830B </span>","children":null,"spread":false},{"title":"db.sqlite3 <span style='color:#111;'> 132.00KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"apps.py <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"tests.py <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"migrations","children":[{"title":"0001_initial.py <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"0001_initial.cpython-36.pyc <span style='color:#111;'> 706B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"admin.py <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"models.py <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"admin.cpython-36.pyc <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"views.cpython-36.pyc <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"models.cpython-36.pyc <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 134B </span>","children":null,"spread":false}],"spread":true},{"title":"views.py <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"index.html <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"result.html <span style='color:#111;'> 845B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"searchDemo","children":[{"title":"settings.py <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"urls.py <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"urls.cpython-36.pyc <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"wsgi.cpython-36.pyc <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"settings.cpython-36.pyc <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"wsgi.py <span style='color:#111;'> 414B </span>","children":null,"spread":false}],"spread":true},{"title":"后台管理系统账号.txt <span style='color:#111;'> 35B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明