diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-03-21 14:21:43 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-03-21 21:06:50 +0100 |
| commit | 0f9560855e5ed203b8c911c23237826e28a62a38 (patch) | |
| tree | f62d3cd8b6fb6ac6f3a30282169d762b522d291c /django/db/backends/postgresql_psycopg2/base.py | |
| parent | 907ac646415a911b54d84c5203d4fa78ed1b91d5 (diff) | |
Removed legacy transaction management per the deprecation timeline.
Diffstat (limited to 'django/db/backends/postgresql_psycopg2/base.py')
| -rw-r--r-- | django/db/backends/postgresql_psycopg2/base.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/db/backends/postgresql_psycopg2/base.py b/django/db/backends/postgresql_psycopg2/base.py index e89a4e604a..dbba3d6d7d 100644 --- a/django/db/backends/postgresql_psycopg2/base.py +++ b/django/db/backends/postgresql_psycopg2/base.py @@ -48,7 +48,6 @@ def utc_tzinfo_factory(offset): class DatabaseFeatures(BaseDatabaseFeatures): needs_datetime_string_cast = False can_return_id_from_insert = True - requires_rollback_on_dirty_transaction = True has_real_datatype = True can_defer_constraint_checks = True has_select_for_update = True @@ -181,8 +180,6 @@ class DatabaseWrapper(BaseDatabaseWrapper): exc_info=sys.exc_info() ) raise - finally: - self.set_clean() def _set_isolation_level(self, isolation_level): assert isolation_level in range(1, 5) # Use set_autocommit for level = 0 |
