Renamed SQLite3 references to to SQLite.

The version suffix isn't part of the product name.
This commit is contained in:
Simon Charette 2018-12-21 18:29:48 -05:00 committed by Tim Graham
parent e671337e8b
commit 20f6f9eaa1
4 changed files with 5 additions and 5 deletions

View File

@ -300,7 +300,7 @@ class BaseDatabaseSchemaEditor:
# Prevent using [] as params, in the case a literal '%' is used in the definition
self.execute(sql, params or None)
# Add any field index and index_together's (deferred as SQLite3 _remake_table needs it)
# Add any field index and index_together's (deferred as SQLite _remake_table needs it)
self.deferred_sql.extend(self._model_indexes_sql(model))
# Make M2M tables

View File

@ -1,5 +1,5 @@
"""
SQLite3 backend for the sqlite3 module in the standard library.
SQLite backend for the sqlite3 module in the standard library.
"""
import datetime
import decimal

View File

@ -24,7 +24,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
'SQLite schema editor cannot be used while foreign key '
'constraint checks are enabled. Make sure to disable them '
'before entering a transaction.atomic() context because '
'SQLite3 does not support disabling them in the middle of '
'SQLite does not support disabling them in the middle of '
'a multi-statement transaction.'
)
return super().__enter__()

View File

@ -91,7 +91,7 @@ class SchemaTests(TransactionTestCase):
'SQLite schema editor cannot be used while foreign key '
'constraint checks are enabled. Make sure to disable them '
'before entering a transaction.atomic() context because '
'SQLite3 does not support disabling them in the middle of '
'SQLite does not support disabling them in the middle of '
'a multi-statement transaction.'
)
with self.assertRaisesMessage(NotSupportedError, msg):
@ -100,7 +100,7 @@ class SchemaTests(TransactionTestCase):
def test_constraint_checks_disabled_atomic_allowed(self):
"""
SQLite3 schema editor is usable within an outer transaction as long as
SQLite schema editor is usable within an outer transaction as long as
foreign key constraints checks are disabled beforehand.
"""
def constraint_checks_enabled():