#4099: psycopg2-2.0.6b2 does not allow lists in cursor.execute
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: mtredinnick
Status: reopened | Component: Database wrapper
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------+--------------------------------------
Changes (by rollacosta):
* status: closed => reopened
* resolution: worksforme =>
Comment:
I am using with psycopg2 v2.0.6 with the bleeding-edge Django from SVN.
syncdb fails with:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line
1742, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line
1639, in execute_from_command_line
action_mapping[action](int(options.verbosity), options.interactive)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line
538, in syncdb
cursor = connection.cursor()
File "/usr/lib/python2.5/site-
packages/django/db/backends/postgresql_psycopg2/base.py", line 58, in
cursor
cursor.execute("SET TIME ZONE %s", [settings.TIME_ZONE])
psycopg2.ProgrammingError: unrecognized time zone name: "America/Chicago"
--
Ticket URL: <http://code.djangoproject.com/ticket/4099#comment:9>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---