Django SVN request.get_full_path() return main.fcgi?

2008-08-30 Thread Jason Cui
When I update django SVN yestoday, about from 0.97 to 1.0 beta2, the function request.get_full_path() return wrong value sometimes. When I locate url http://domain/detail/list/, this function return /main.fcgi/ detail/list/, but should be /detail/list/. Who can tell me why? Now I have to add repl

Re: Django SVN request.get_full_path() return main.fcgi?

2008-08-31 Thread Jason Cui
Thank you very much, this is the answer. On Aug 31, 11:13 pm, Michael Richardson <[EMAIL PROTECTED]> wrote: > On Aug 30, 11:07 pm, Jason Cui <[EMAIL PROTECTED]> wrote: > > > When I update django SVN yestoday, about from 0.97 to 1.0 beta2, the > > function reques

My site die every two hours

2008-09-02 Thread Jason Cui
This happend after I update django to newest svn version from 0.97. When the site died, my server is running ok, login with ssh, I found there were so many manage.py process. After restart the site use manage.py or restart system, the site come back. Any suggestion? This is the startup bash: pyth

Re: My site die every two hours

2008-09-02 Thread Jason Cui
Sorry, it's my fault, the DEBUG is setted to true in settings file. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscr

Re: ANN: Security fix to i18n framework

2007-10-29 Thread Jason Cui
And more,when I update the django to svn trunk, my site is down, it only show IE's 500 error, and I can't find the details. I use lighttpd+FastCGI, there is no message in the error log file. And, I use the DualSessionMiddleware class for the "Remember me" function, but the session middleware is ch

Re: ANN: Security fix to i18n framework

2007-10-29 Thread Jason Cui
When I update my site from 0.96 to 0.96.1,my internationalize function won't work for firefox, but fine for IE. I use english in views and templates, and trans it to chinese in po file, and I have to local folder named en and zh, now, any firefox users can only see english page, change the languag

Re: ANN: Security fix to i18n framework

2007-10-30 Thread Jason Cui
2007/10/31, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > On Tue, 2007-10-30 at 00:37 -0700, Jason Cui wrote: > > When I update my site from 0.96 to 0.96.1,my internationalize function > > won't work for firefox, but fine for IE. > > I use english in views and

How to write the new DualSessionMiddleware for django trunk?

2007-10-30 Thread Jason Cui
I use this code for the "Remember me" function: http://code.djangoproject.com/wiki/CookBookDualSessionMiddleware But then I update django from 0.96 to svn trunk, it won't work, because the session middleware of django have not SessionWrapper class any more. What should I do now? --~--~-~

Re: ANN: Security fix to i18n framework

2007-10-31 Thread Jason Cui
2007/10/31, Jeremy Dunck <[EMAIL PROTECTED]>: > > > On 10/31/07, Jason Cui <[EMAIL PROTECTED]> wrote: > > 2007/10/31, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > > > > On Tue, 2007-10-30 at 00:37 -0700, Jason Cui wrote: > > > >

Re: ANN: Security fix to i18n framework

2007-10-31 Thread Jason Cui
2007/10/31, Jeremy Dunck <[EMAIL PROTECTED]>: > > > On 10/31/07, Jason Cui <[EMAIL PROTECTED]> wrote: > > 2007/10/31, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > > > > On Tue, 2007-10-30 at 00:37 -0700, Jason Cui wrote: > > > >

Re: ANN: Security fix to i18n framework

2007-11-01 Thread Jason Cui
2007/10/31, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > On Wed, 2007-10-31 at 13:40 +0800, Jason Cui wrote: > > 2007/10/31, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > > On Tue, 2007-10-30 at 00:37 -0700, Jason Cui wrote: > > &