Ticket #3460: 3460_r10645-autocommit.diff

File 3460_r10645-autocommit.diff, 676 bytes (added by kmishler@…, 6 years ago)
  • django/db/backends/postgresql_psycopg2/base.py

     
    9797                conn_params['port'] = settings_dict['DATABASE_PORT']
    9898            self.connection = Database.connect(**conn_params)
    9999            self.connection.set_client_encoding('UTF8')
     100            self.connection.set_isolation_level(self.isolation_level)
    100101            connection_created.send(sender=self.__class__)
    101102        cursor = self.connection.cursor()
    102103        cursor.tzinfo_factory = None
Back to Top