Fixed the last fix for database test settings to work with Python3.
This commit is contained in:
parent
3a34f71d4d
commit
deff74ea0c
|
@ -209,7 +209,7 @@ class ConnectionHandler(object):
|
||||||
"to a %s entry in the TEST setting" % (key, new_key),
|
"to a %s entry in the TEST setting" % (key, new_key),
|
||||||
RemovedInDjango19Warning, stacklevel=2)
|
RemovedInDjango19Warning, stacklevel=2)
|
||||||
test_settings[new_key] = value
|
test_settings[new_key] = value
|
||||||
for key in conn.keys():
|
for key in list(conn.keys()):
|
||||||
if key.startswith('TEST_'):
|
if key.startswith('TEST_'):
|
||||||
del conn[key]
|
del conn[key]
|
||||||
# Check that they didn't just use the old name with 'TEST_' removed
|
# Check that they didn't just use the old name with 'TEST_' removed
|
||||||
|
|
Loading…
Reference in New Issue