Re: django ifequal crush in chinese

2009-05-11 Thread feng Tang
thanks Karen: i solved the problem, using u''[constant string like chinese charactor]'. i think using u'' means the string should be processed as unicode charactor, inside python ,change all to unicode to process. thanks again --~--~-~--~~~---~--~~ You received

Re: how to catch the errors throwed by django when django project deployed under fastcgi

2009-05-12 Thread feng Tang
James: i just need the the tracelogs, just like developing in django development server, when error happen, it will print traceback pointing where the error happen. but now i deploy my project in nginx + fastcgi mode, which i get is the nginx 5x.html saying 'Unhandled Exception', and nginx's