mirror of https://github.com/django/django.git
Restored the 'TEST_' prefix in the warning about deprecated test database settings
This commit is contained in:
parent
6dbe979b4d
commit
88edce2abb
|
@ -212,7 +212,7 @@ class ConnectionHandler(object):
|
||||||
else:
|
else:
|
||||||
test_settings.update(old_test_settings)
|
test_settings.update(old_test_settings)
|
||||||
for key, _ in six.iteritems(old_test_settings):
|
for key, _ in six.iteritems(old_test_settings):
|
||||||
warnings.warn("In Django 1.9 the %s connection setting will be moved "
|
warnings.warn("In Django 1.9 the TEST_%s connection setting will be moved "
|
||||||
"to a %s entry in the TEST setting" %
|
"to a %s entry in the TEST setting" %
|
||||||
(self.TEST_SETTING_RENAMES_REVERSE.get(key, key), key),
|
(self.TEST_SETTING_RENAMES_REVERSE.get(key, key), key),
|
||||||
RemovedInDjango19Warning, stacklevel=2)
|
RemovedInDjango19Warning, stacklevel=2)
|
||||||
|
|
Loading…
Reference in New Issue