web.py 在 Apache + Fastcgi 配置 Tips

_"未格式化的导入日志 unformatted imported post"_

根据web.py官网的说明,配置使其运行在apache + fastcgi 上,碰到了许多问题,耗了两天时间才整明白。一方面是apache的配置不熟悉,另外一方面是其官方文档也有些疏漏,问题及解决办法如下(ubuntu 10.04):

Continue reading

Django 静态文件配置

_"未格式化的导入日志 unformatted imported post"_

Django 自带的admin 用户及权限管理是一个很不错的功能,但在开发的时候,如果仅仅只是按照教程中介绍的去掉 urls.py 中相应的注释,那么你很有可能看到的是一个光秃秃的裸体页面,换句话说,就是页面的样式都失效了。
Continue reading

Samuel Chen

I am living in Wuhan with my wife and daughter.
Before 2010, I was living in Beijing for a long time.
My interesings are cloud technology, distributed system, data mining and mobile technologies.
In my spare time, I like to play football and swiming.
“Explorer. Dream. Discover. “ is my favorite quotation. And it is also the way I am looking for and doing.

Wuhan, China