Hi guys, I'm having a weird problem with TIME_ZONE settings. Some view list objects based on the time, future time objects are not shown.
The problem is that sometimes all objects that need to be shown appear normally, sometimes the latest objects are not shown. Digging on the problem I found that sometimes my os.environ['TZ'] are set to 'America/Sao_Paulo' (the correct one) and sometimes it is the default 'America/Chicago'. I can't see any reason to this problem. I using python2.5 with django1.1-beta installed on a vps with ubuntu hardy. My django settings module have the following line: TIME_ZONE = 'America/Sao_Paulo' And my apache virtual host configuration has the following: <Location /> SetHandler python-program PythonPath "['/path-to-my-project/'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE portal.settings PythonDebug Off </Location> Does someone facing the same problem? Does anyone has a suggestion? Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---