﻿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
4373	Extend get_object_or_404 and get_list_or_404 to accept QuerySets	SuperJared	Adrian Holovaty	"Currently you can pass a Manager or Model to either of these methods:

{{{
get_object_or_404(Poll, pk=1)
get_object_or_404(Poll.my_objects, pk=1)
}}}

I have attached a patch that also allows for QuerySets:

{{{
get_object_or_404(Poll.objects.live(), pk=1)
}}}"		closed	Core (Other)	dev		fixed	get_object_or_404 get_list_or_404 shortcuts		Ready for checkin	1	0	0	0	0	0
