From 4ce7d86cbeb9d259b3616d3ee084bb2a986b85db Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 3 Jul 2020 12:55:59 +0500 Subject: [PATCH] Removed duplicated sqlite3 converter. Converters typenames are case-insensitive. See https://docs.python.org/3/library/sqlite3.html#sqlite3.register_converter. --- django/db/backends/sqlite3/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py index 31e8a55a43..26863d282f 100644 --- a/django/db/backends/sqlite3/base.py +++ b/django/db/backends/sqlite3/base.py @@ -74,7 +74,6 @@ Database.register_converter("bool", b'1'.__eq__) Database.register_converter("time", decoder(parse_time)) Database.register_converter("datetime", decoder(parse_datetime)) Database.register_converter("timestamp", decoder(parse_datetime)) -Database.register_converter("TIMESTAMP", decoder(parse_datetime)) Database.register_adapter(decimal.Decimal, str)