Sunday, August 1, 2010

Re: Django error can't adapt

2010/8/1 Daniel França <daniel.franca@gmail.com>:
> Hi,
> I just migrated from Linux to Mac OS, and I'm getting an error message
> when I try register a new user of my django site, (at my page)
> I get the error: can't adapt type 'US/Eastern'
> I'm using Postgresql and psycopg2, I tried to change the TIME_ZONE to
> 'America/Sao_Paulo'(I'm in Brazil), but the error still happens.
>
> I tried anothers possibilities of TIME_ZONE but no success.
>
> Anyone know how to solve that?
>
> Best Regards,
> Daniel França
>
Do you have more than one django instance on mod_python? If this is
the case it's a bug with mod_python and Postgres. Change to wsgi and
the problem would dissapear.

Hope it helps!


--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment