Restored the 'TEST_' prefix in the warning about deprecated test database settings

This commit is contained in:
Shai Berger 2014-12-01 02:08:46 +02:00
parent 6dbe979b4d
commit 88edce2abb
1 changed files with 1 additions and 1 deletions

View File

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