1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

[1.7.x] Set some transaction-related feature flags on SQLite.

Refs #22496.

Backport of e368912 from master.
This commit is contained in:
Aymeric Augustin 2014-04-25 11:43:20 +02:00
parent b8b179bbf5
commit 782fa14db4

View File

@ -105,7 +105,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
supports_foreign_keys = False supports_foreign_keys = False
supports_check_constraints = False supports_check_constraints = False
autocommits_when_autocommit_is_off = True autocommits_when_autocommit_is_off = True
supports_transactions = True
atomic_transactions = False atomic_transactions = False
can_rollback_ddl = True
supports_paramstyle_pyformat = False supports_paramstyle_pyformat = False
supports_sequence_reset = False supports_sequence_reset = False