From e368912902add8accf08d290ea77df49bd488744 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 25 Apr 2014 11:43:20 +0200 Subject: [PATCH] Set some transaction-related feature flags on SQLite. Refs #22496. --- django/db/backends/sqlite3/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py index d594b89ef8..4dcdb1109d 100644 --- a/django/db/backends/sqlite3/base.py +++ b/django/db/backends/sqlite3/base.py @@ -105,7 +105,9 @@ class DatabaseFeatures(BaseDatabaseFeatures): supports_foreign_keys = False supports_check_constraints = False autocommits_when_autocommit_is_off = True + supports_transactions = True atomic_transactions = False + can_rollback_ddl = True supports_paramstyle_pyformat = False supports_sequence_reset = False