﻿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
12661	"Support setting a ""default"" database"	Kyle Fuller	nobody	"I have wrote two patches which allow you to select a ""default"" database, one is for a settings variable, another is a environmental variable. While I was playing around with multidb I found it annoying that I couldn't set a default db, I wanted to be able to use the same settings.py on my site for development and my production site.

'''environ.diff'''

{{{
os.environ['DJANGO_DEFAULT_DB'] = ""development""
}}}

This could be set in your wsgi file.

'''settings.diff'''

{{{
DEFAULT_DB_ALIAS = ""development""
}}}

This would go into settings.py
"		closed	Database layer (models, ORM)	1.1		wontfix			Unreviewed	1	0	0	0	0	0
