diff options
| author | Simon Charette <charette.s@gmail.com> | 2025-01-27 15:11:19 -0500 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-02-11 09:15:58 +0100 |
| commit | f8fce8d4dce7cf6d272a29351faddd5fa76f1aa0 (patch) | |
| tree | cd039d4f02d8bcdec6d78d6831239eb48a67a406 /django/db/backends/sqlite3 | |
| parent | 16c7dc543c3a0e8a4c7554e36dd6166d5c12c872 (diff) | |
[5.2.x] Refs #36148 -- Relied on a feature switch to define tuple lookups support.
This should allow backends more easily opt-in or out of native support and rely
on the fallback if unavailable.
Backport of a0a765ddeb5056c85e084773d3f6432e2a426638 from main.
Diffstat (limited to 'django/db/backends/sqlite3')
| -rw-r--r-- | django/db/backends/sqlite3/features.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/sqlite3/features.py b/django/db/backends/sqlite3/features.py index 60893561df..6ab6308ece 100644 --- a/django/db/backends/sqlite3/features.py +++ b/django/db/backends/sqlite3/features.py @@ -61,6 +61,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): insert_test_table_with_defaults = 'INSERT INTO {} ("null") VALUES (1)' supports_default_keyword_in_insert = False supports_unlimited_charfield = True + supports_tuple_lookups = False @cached_property def django_test_skips(self): |
