﻿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
7640	django.shortcuts.get_list_or_404 unnecessarily returns a list	Kamu	nobody	"django.shortcuts.get_list_or_404 returns a list, which prohibits queryset chaining etc. e.g.


{{{
stats = get_list_or_404(CityStats, country=countryid, snapshot=period).order_by('city__name')
}}}

is not possible due to the returning of a list. It is much better to return the queryset it makes in the first place!

(sorry if the patch is incorrectly formatted, as I am using git-svn and I am new to it, as well as diff/patches :))"		closed	Uncategorized	dev		wontfix			Design decision needed	1	0	0	0	0	0
