﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2755	Bug in postgresql connector	djangoproject.com@…	Adrian Holovaty	"Programming error in django/db/backends/postgresql/base.py setting the TIME_ZONE.


{{{
--- base.py     (revision 3768)
+++ base.py     (working copy)
@@ -43,7 +43,7 @@
             self.connection = Database.connect(conn_string)
             self.connection.set_isolation_level(1) # make transactions transparent to all cursors
         cursor = self.connection.cursor()
-        cursor.execute(""SET TIME ZONE %s"", [settings.TIME_ZONE])
+        cursor.execute(""SET TIME ZONE %s"", (settings.TIME_ZONE,))
         if settings.DEBUG:
             return util.CursorDebugWrapper(cursor, self)
         return cursor
}}}
"	defect	closed	Database layer (models, ORM)	dev	major	invalid			Unreviewed	0	0	0	0	0	0
