diff --git a/django/db/backends/sqlite3/features.py b/django/db/backends/sqlite3/features.py index be11c047cf2..e315c867125 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):