{{{
diff --git a/django/db/backends/sqlite3/schema.py
b/django/db/backends/sqlite3/schema.py
--- a/django/db/backends/sqlite3/schema.py
+++ b/django/db/backends/sqlite3/schema.py
@@ -37,7 +37,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
except sqlite3.ProgrammingError:
pass
# Manual emulation of SQLite parameter quoting
- if isinstance(value, type(True)):
+ if isinstance(value, bool):
return str(int(value))
if isinstance(value, (Decimal, float, int)):
return str(value)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28854>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* component: Uncategorized => Migrations
* stage: Unreviewed => Ready for checkin
* type: Uncategorized => Cleanup/optimization
--
Ticket URL: <https://code.djangoproject.com/ticket/28854#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"3308085838f520db49f606b72345a301c1cf2a3e" 3308085]:
{{{
#!CommitTicketReference repository=""
revision="3308085838f520db49f606b72345a301c1cf2a3e"
Fixed #28854 -- Replaced type(True) with bool in sqlite's SchemaEditor.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28854#comment:2>