On Dec 7, 1:39 pm, Brian Neal <bgn...@gmail.com> wrote:
> On Dec 6, 7:40 pm, XtraGreen <stargazer...@gmail.com> wrote:
>
> > I've changed settings.TIME_ZONE to 'UTC' and restarted my server but
> > when I create records (postgresql) they're not UTC, they're 'America/
> > Chicago' (-6) in the table.
>
> > Am I missing something or is settings.TIME_ZONE useless?
>
> What is your server setup? Apache on Linux? mod_python ormod_wsgi?
> Are you running anything else on your server like PHP apps? The
> timezone setting is process-wide, so depending on how you deployed
> your server another application could be overwriting you.

Some explanation of this issue in:

  
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Timezone_and_Locale_Settings

If using Apache/mod_wsgi, delegate Python web application instances
with specific timezone, locale, lang requirements to a separate
process using mod_wsgi daemon mode.

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-us...@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.


Reply via email to