﻿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
10761	ModelAdmin.queryset() is missing a mechanism for specifying different querysets for changelist and change object views	mrts	Tom Carrick	"`ModelAdmin.queryset()` is used both in the changelist and change object views.

Suppose some fields are deferred in the returned queryset to speed up changelist rendering. As a result, the object change view has to perform additional queries for all the deferred fields to pull them in.

The proposed solution is to add another parameter to `queryset()` that specifies whether a changelist or change object queryset should be returned as follows:
{{{
def queryset(self, request, for_change_object_view=False):
}}}"	New feature	assigned	contrib.admin	dev	Normal		efficient-admin	marcoberi@… andy@… Jeongsoo, Park	Accepted	0	0	0	0	0	0
