﻿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
10487	Refactor database-backend-selection logic into a function	Adrian Holovaty	nobody	"There's a bunch of logic in {{{django/db/__init__.py}}} that loads the appropriate backend from {{{django.db.backends}}} based on the {{{DATABASE_ENGINE}}} setting. We should put this logic into a function so it can be used by other code.

The specific use-case is multiple-database code that needs to load a separate backend for each database connection.

See discussion in [http://groups.google.com/group/django-developers/browse_thread/thread/5d8c73eb483029af/6ab90fe56923d4ad this django-developers thread], starting with Yuri Baburov's comment."		closed	Database layer (models, ORM)	dev		fixed			Unreviewed	0	0	0	0	0	0
