Ticket #3460: 3460_r10645-autocommit.diff
File 3460_r10645-autocommit.diff, 676 bytes (added by , 16 years ago) |
---|
-
django/db/backends/postgresql_psycopg2/base.py
97 97 conn_params['port'] = settings_dict['DATABASE_PORT'] 98 98 self.connection = Database.connect(**conn_params) 99 99 self.connection.set_client_encoding('UTF8') 100 self.connection.set_isolation_level(self.isolation_level) 100 101 connection_created.send(sender=self.__class__) 101 102 cursor = self.connection.cursor() 102 103 cursor.tzinfo_factory = None