diff options
| author | Simon Charette <charette.s@gmail.com> | 2018-12-21 18:06:16 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-12-22 15:13:46 -0500 |
| commit | f3eb1cfb58084bd2c547e64a217cb6da0ddfb0df (patch) | |
| tree | 229a0e014a095c9d93a55dda62fe990018a86c1e | |
| parent | 25a0781a1661e7329bc1ba9bce12dfddf7f2d433 (diff) | |
Refs #29928 -- Corrected SQLite's can_defer_constraint_checks feature flag.
| -rw-r--r-- | django/db/backends/sqlite3/features.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/sqlite3/features.py b/django/db/backends/sqlite3/features.py index be11c047cf..e315c86712 100644 --- a/django/db/backends/sqlite3/features.py +++ b/django/db/backends/sqlite3/features.py @@ -40,7 +40,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): supports_parentheses_in_compound = False # Deferred constraint checks can be emulated on SQLite < 3.20 but not in a # reasonably performant way. - can_defer_constraint_checks = Database.version_info >= (3, 20, 0) + can_defer_constraint_checks = Database.sqlite_version_info >= (3, 20, 0) @cached_property def supports_stddev(self): |
