Refs -- Corrected SQLite's can_defer_constraint_checks feature flag.
@@ -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):
