0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Removed duplicated sqlite3 converter.

Converters typenames are case-insensitive. See
https://docs.python.org/3/library/sqlite3.html#sqlite3.register_converter.
This commit is contained in:
Sergey Fedoseev 2020-07-03 12:55:59 +05:00 committed by GitHub
parent baf404f749
commit 4ce7d86cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)