mirror of
https://github.com/django/django.git
synced 2025-03-24 00:00:45 +00:00
[1.7.x] Restored the 'TEST_' prefix in the warning about deprecated test database settings
Backport of 88edce2abb from master
This commit is contained in:
parent
25e0329fbe
commit
d62e16fe46
@ -216,7 +216,7 @@ class ConnectionHandler(object):
|
||||
else:
|
||||
test_settings.update(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" %
|
||||
(self.TEST_SETTING_RENAMES_REVERSE.get(key, key), key),
|
||||
RemovedInDjango19Warning, stacklevel=2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user