From 57f0638573c04ae54350bff7859d75b0410121aa Mon Sep 17 00:00:00 2001
From: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Date: Fri, 10 Dec 2021 11:45:48 +0100
Subject: [PATCH] Fixed DatabaseFeatures.requires_literal_defaults on SQLite.

This flag is currently unused on SQLite because it doesn't support
dropping a DEFAULT clause, however it requires literal defaults, rather
than parameterized ones, so we can set it for clarity.
---
 django/db/backends/sqlite3/features.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/django/db/backends/sqlite3/features.py b/django/db/backends/sqlite3/features.py
index f5ce0a6412..a622a1ebe1 100644
--- a/django/db/backends/sqlite3/features.py
+++ b/django/db/backends/sqlite3/features.py
@@ -18,6 +18,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
     can_rollback_ddl = True
     can_create_inline_fk = False
     supports_paramstyle_pyformat = False
+    requires_literal_defaults = True
     can_clone_databases = True
     supports_temporal_subtraction = True
     ignores_table_name_case = True