Ticket #12180: 12180.diff
File 12180.diff, 663 bytes (added by , 15 years ago) |
---|
-
django/db/backends/postgresql_psycopg2/base.py
67 67 autocommit = self.settings_dict["DATABASE_OPTIONS"].get('autocommit', False) 68 68 self.features.uses_autocommit = autocommit 69 69 self._set_isolation_level(int(not autocommit)) 70 self.features.can_return_id_from_insert = autocommit 70 71 self.ops = DatabaseOperations() 71 72 self.client = DatabaseClient(self) 72 73 self.creation = DatabaseCreation(self)