Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the last fix for database test settings to work with Python3.

  • Loading branch information...
commit deff74ea0cc38794cd10a1a3866904c227c986f7 1 parent 3a34f71
Shai Berger shaib authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/utils.py
2  django/db/utils.py
View
@@ -209,7 +209,7 @@ def prepare_test_settings(self, alias):
"to a %s entry in the TEST setting" % (key, new_key),
RemovedInDjango19Warning, stacklevel=2)
test_settings[new_key] = value
- for key in conn.keys():
+ for key in list(conn.keys()):
if key.startswith('TEST_'):
del conn[key]
# Check that they didn't just use the old name with 'TEST_' removed
Please sign in to comment.
Something went wrong with that request. Please try again.