On Mon, May 21, 2012 at 9:57 PM, Arthur <kaend...@mtu.edu> wrote:
> Hello,
>
> I recently upgraded one of my machines to Django 1.4 to patch a bug related
> to the use of PostGIS 9.1. I read the documentation on the new support for
> time zones and added USE_TZ=True to my settings.py file. Nonetheless, when I
> attempt to load data into my PostGIS database in one of the following ways,
> I receive a ValueError: Django does not support timezone-aware times.

If what you did in that machine is upgrade to Django 1.4 from an older version
then you might be victim of a problem because of whcih the files form the
previous installation aren't overwritten and you end with a broken mix of
things.

The documentation has recently been [1]amended with instructions on how
to avoid this. Please use the [2]updated section in the relevant document.

HTH

-- 
Ramiro Morales

1. 
https://github.com/django/django/commit/6ed7d40727f70934df6ab0ac96f5f1c4f01c534f
2. 
https://docs.djangoproject.com/en/dev/topics/install/#remove-any-old-versions-of-django

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

Reply via email to