﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12452	Not all database connections are being closed (multidb)	samuel@…	nobody	"Now with multidb there can be multiple connections to different databases. Only the default one is being closed at the end of the request. I think that it should be consistent, and all databases connections should be closed. Sorry for not having a patch handy, but the fix would be (untested):

In django/db/__init__.py change close_connection to:

{{{
def close_connection(**kwargs):
    for connection in connections.all():
        connection.close()
}}}"		closed	Database layer (models, ORM)	dev		fixed			Ready for checkin	0	0	0	0	0	0
