﻿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
7854	get_list_or_404 slice performance	Sanha	nobody	"in this case,

{{{
Foo.objects.filter(name__startswith=""peter"")[:10]
}}}

Performance is optimized by SQL.
but in this case,

{{{
get_list_or_404(Foo, name__startswith=""peter"")[:10]
}}}

This slice is done by Python.
This is proformance issue.

Is it possible shortcuts can do slice by SQL ?

"		closed	Database layer (models, ORM)	dev		wontfix	shortcuts, performance		Unreviewed	0	0	0	0	0	0
