summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/base.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-08-04 06:35:13 +0200
committerGitHub <noreply@github.com>2023-08-04 06:35:13 +0200
commit2b582387d51c44fa928351ca55f05fc8b8d2986e (patch)
tree79eb0423530ab2a9ce8dbdbd20431bab073a5b71 /django/db/backends/sqlite3/base.py
parentf46a6b2816819ed12d4d0150c99d66920070ca15 (diff)
Fixed #34760 -- Dropped support for SQLite < 3.27.
Diffstat (limited to 'django/db/backends/sqlite3/base.py')
-rw-r--r--django/db/backends/sqlite3/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py
index a3a382a56b..08de0bad5a 100644
--- a/django/db/backends/sqlite3/base.py
+++ b/django/db/backends/sqlite3/base.py
@@ -182,7 +182,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
conn.execute("PRAGMA foreign_keys = ON")
# The macOS bundled SQLite defaults legacy_alter_table ON, which
- # prevents atomic table renames (feature supports_atomic_references_rename)
+ # prevents atomic table renames.
conn.execute("PRAGMA legacy_alter_table = OFF")
return conn