mirror of
https://github.com/django/django.git
synced 2025-09-13 22:16:28 +00:00
Refs #29928 -- Corrected SQLite's can_defer_constraint_checks feature flag.
This commit is contained in:
parent
25a0781a16
commit
f3eb1cfb58
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue