Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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

  • Loading branch information...
1 parent 3a34f71 commit deff74ea0cc38794cd10a1a3866904c227c986f7 @shaib shaib committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/
2  django/db/
@@ -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

0 comments on commit deff74e

Please sign in to comment.
Something went wrong with that request. Please try again.