pastlink-tornado:基于话题的书签收藏-源码

上传者: 42116847 | 上传时间: 2021-07-03 18:03:52 | 文件大小: 626KB | 文件类型: ZIP
使用Python Tornado编写的链接收藏网站,使用Mongodb作为数据库。 并非基于tag或者分类来收集书签,而是基于话题。首先创建一个话题,然后在话题下添加书签。 以下功能: 添加话题和书签 多用户 收藏其他用户的话题和书签 评论话题和书签(多说) 等等 已经具备基本功能。 代码尚未重构,且不再完善和维护。 简单的使用指南: 1、安装mongodb后,创建数据库pastlink,并为数据库设置用户和密码。 2、在ptool.py的db.authenticate('username', 'password')处修改用户和密码。在controller/tools/DB.py中的db = motor.MotorClient('mongodb://username:password@localhost:27017/pastlink').pastlink处修改用户和密码。 3、使用ptoo

文件下载

资源详情

[{"title":"( 73 个子文件 626KB ) pastlink-tornado:基于话题的书签收藏-源码","children":[{"title":"pastlink-tornado-master","children":[{"title":"controller","children":[{"title":"ShowLinkHandler.py <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"ProfileHandler.py <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"ModifyTopicHandler.py <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 827B </span>","children":null,"spread":false},{"title":"NewTopicHandler.py <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"IndexHandler.py <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"LogoutHandler.py <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"Pagination.py <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"ID.py <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"Time.py <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"DB.py <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"Password.py <span style='color:#111;'> 347B </span>","children":null,"spread":false}],"spread":true},{"title":"NewLinkHandler.py <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false},{"title":"ExploreHandler.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"StarLinkHandler.py <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"ShowTopicHandler.py <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"ModifyLinkHandler.py <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"DeleteLinkHandler.py <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"LoginHandler.py <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"StarTopicHandler.py <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"BaseHandler.py <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"RegisterHandler.py <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"DeleteTopicHandler.py <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"UserHandler.py <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"static","children":[{"title":"js","children":[{"title":"new","children":[{"title":"topic.js <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"check.ie.js <span style='color:#111;'> 321B </span>","children":null,"spread":false},{"title":"profile.js <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"link","children":[{"title":"index.js <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"jquery-2.1.1.min.js <span style='color:#111;'> 82.27KB </span>","children":null,"spread":false},{"title":"topic","children":[{"title":"index.js <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"explore.js <span style='color:#111;'> 202B </span>","children":null,"spread":false}],"spread":true},{"title":"semantic","children":[{"title":"fonts","children":[{"title":"basic.icons.woff <span style='color:#111;'> 24.10KB </span>","children":null,"spread":false},{"title":"icons.ttf <span style='color:#111;'> 77.22KB </span>","children":null,"spread":false},{"title":"basic.icons.eot <span style='color:#111;'> 39.22KB </span>","children":null,"spread":false},{"title":"basic.icons.svg <span style='color:#111;'> 62.62KB </span>","children":null,"spread":false},{"title":"icons.eot <span style='color:#111;'> 36.53KB </span>","children":null,"spread":false},{"title":"basic.icons.ttf <span style='color:#111;'> 38.99KB </span>","children":null,"spread":false},{"title":"icons.woff <span style='color:#111;'> 42.55KB </span>","children":null,"spread":false},{"title":"icons.svg <span style='color:#111;'> 193.19KB </span>","children":null,"spread":false},{"title":"icons.otf <span style='color:#111;'> 60.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"images","children":[{"title":"loader-large.gif <span style='color:#111;'> 8.29KB </span>","children":null,"spread":false},{"title":"loader-medium.gif <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"loader-medium-inverted.gif <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"loader-mini.gif <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"loader-small.gif <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"loader-mini-inverted.gif <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"loader-large-inverted.gif <span style='color:#111;'> 9.93KB </span>","children":null,"spread":false},{"title":"loader-small-inverted.gif <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"javascript","children":[{"title":"semantic.min.js <span style='color:#111;'> 134.44KB </span>","children":null,"spread":false},{"title":"semantic.js <span style='color:#111;'> 361.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"semantic.css <span style='color:#111;'> 334.00KB </span>","children":null,"spread":false},{"title":"semantic.min.css <span style='color:#111;'> 232.98KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"css","children":[{"title":"style.css <span style='color:#111;'> 349B </span>","children":null,"spread":false}],"spread":true},{"title":"img","children":[{"title":"bg.jpg <span style='color:#111;'> 28.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"server.py <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"ptool.py <span style='color:#111;'> 921B </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 1002B </span>","children":null,"spread":false},{"title":"template","children":[{"title":"new","children":[{"title":"topic.html <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"explore.html <span style='color:#111;'> 6.60KB </span>","children":null,"spread":false},{"title":"link","children":[{"title":"index.html <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"user","children":[{"title":"index.html <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false},{"title":"topic-stars.html <span style='color:#111;'> 5.27KB </span>","children":null,"spread":false},{"title":"link-stars.html <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"profile.html <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"login.html <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"topic","children":[{"title":"index.html <span style='color:#111;'> 13.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"register.html <span style='color:#111;'> 340B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"error","children":[{"title":"system.html <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"404.html <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"mytest","children":[{"title":"mongo01.py <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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