Renjie Cai

Results 36 comments of Renjie Cai

不用删库,直接 index_all 一下索引老数据就行,新数据走前面说的 _after_flush

你可以试试 ipdb 命令行 debug 题外话:这时候 Docker 的优势就体现出来了

偏题了。。。 http://open.daocloud.io/tag/python-kai-fa-zhe-de-docker-zhi-lv/

可以检查一下 model_commited 事件是否注册上了

index_all() queries 100 records everyloop and index them to whoosh, if time doesn't reach the timeout, maybe the package size of 100 records reach the max_allowed_packet limit (1mb by default)?...

我还没有用过 readthedocs,这里的 build 是怎样一个过程?我把 requiresments.txt 改成这样是因为 #2 。pip 依赖的写法的确很迷,我还没找出正确的方法。