mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Removed ad-hoc support for usage of short names of built-in DB backends.
This non-standard naming was deprecated in Django 1.2.
This commit is contained in:
parent
ab23293735
commit
35e8dc5169
2 changed files with 7 additions and 23 deletions
|
@ -666,13 +666,6 @@ class ThreadTests(TestCase):
|
|||
self.assertEqual(len(exceptions), 0)
|
||||
|
||||
|
||||
class BackendLoadingTests(TestCase):
|
||||
def test_old_style_backends_raise_useful_exception(self):
|
||||
six.assertRaisesRegex(self, ImproperlyConfigured,
|
||||
"Try using django.db.backends.sqlite3 instead",
|
||||
load_backend, 'sqlite3')
|
||||
|
||||
|
||||
class MySQLPKZeroTests(TestCase):
|
||||
"""
|
||||
Zero as id for AutoField should raise exception in MySQL, because MySQL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue