﻿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
30391	.get() ignores .using().	DavionKalhen	nobody	"When using multiple databases, when accessing the non-default with .using, a subsiquent call to .get will ignore the databases.

Eg:


{{{
comment = Comments.objects.using('specialcmts').get(pk=23)
#if pk=23 exists in 'default' db, comment will be that value, or it throws an error.
comment = Comments.objects.using('specialcmts').filter(pk=23)[0]
#Same behaviour as above.

#I'm working around this with:
comment = None
comments = Comments.objects.using('specialcmts').filter(pk=23)
for c in comments:
    comment = c
}}}
"	Bug	closed	Database layer (models, ORM)	dev	Normal	worksforme			Unreviewed	0	0	0	0	0	0
