Django & Pinax
fire01312
这个作者很懒,什么都没留下…
展开
-
django 技巧收集
django的外键查询 假设我有两个表(model),分别叫useraccount和userrole: class UserAccount(meta.Model):person = meta.ForeignKey(Person, core=True)account = meta.ForeignKey(User, core=True) class UserRole(meta.Mo...原创 2010-07-21 20:18:03 · 76 阅读 · 0 评论 -
[转]用python爬虫抓站的一些技巧总结
用得最多的还是各类爬虫脚本:写过抓代理本机验证的脚本,写过在discuz论坛中自动登录自动发贴的脚本,写过自动收邮件的脚本,写过简单的验证码识别的脚本,本来想写google music的抓取脚本的,结果有了强大的gmbox,也就不用写了。-这些脚本有一个共性,都是和web相关的,总要用到获取链接的一些方法,再加上simplecd这个半爬虫半网站的项目,累积不少爬虫抓站的经验,在此...原创 2010-08-20 11:50:01 · 189 阅读 · 0 评论 -
django-friends app
django-friends 地址:http://wiki.github.com/jtauber/django-friends/ api doc Welcome to the django-friends wiki! I haven’t worked with friends in a while. I’m just throwing this documentation...原创 2010-06-24 16:18:26 · 112 阅读 · 0 评论