Andrew Durdin wrote:
> On Apr 4, 1:16�pm, Simon  Oberhammer <[EMAIL PROTECTED]>
> wrote:
> > Magus on IRC told me that multiple django projects with different
> > timezones serverd by apache / mod_python could be a problem - ie one
> > changing TZ in a thread that also servers the other project.
> >
> > So I set timezone-setting to Vienna/Europe for all of them and have
> > not seen then datetime-problem since 24hours. I think that was it.
>
> We were encountering the same problem, as one django project was still
> set to 'America/Chicago' instead of 'Europe/London' which is where we
> are.  This appears to be a bug in the Django mod_python handler, so I
> have added a ticket for it: http://code.djangoproject.com/ticket/7062

Except that setting TZ on every request doesn't solve the problem and
may just make it worse for multithread Apache MPM modules such as used
on Windows, or worker MPM on UNIX.

The only safe way to run multiple Django instances with different
timezone settings is to run them in separate processes using mod_wsgi
daemon mode or fastcgi type solutions.

Graham
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to