mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
Refs #29928 -- Corrected SQLite's can_defer_constraint_checks feature flag.
This commit is contained in:
parent
25a0781a16
commit
f3eb1cfb58
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user