Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed to use connections rather than databases.

  • Loading branch information...
commit 7f0132519f8dd7760353505b123ce4e14f0a1dcf 1 parent 4dbfdc6
Jeremy Dunck authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/test/testcases.py
View
2  django/test/testcases.py
@@ -563,7 +563,7 @@ def _fixture_teardown(self):
# (otherwise 2 aliases pointing to the same DB could block each other).
# see 18984
for db in databases:
- databases[db].rollback_unless_managed()
+ connections[db].rollback_unless_managed()
for db in databases:
call_command('flush', verbosity=0, interactive=False, database=db,
Please sign in to comment.
Something went wrong with that request. Please try again.