﻿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
28496	Add ModelAdmin.get_changelist_instance()	Simon Meers	Simon Meers	"As requested/discussed in https://github.com/django/django/pull/8856

It is sometimes necessary to access the filtered/searched QuerySet generated by the current request parameters outside of the `changelist_view`. For example, when exporting the current queryset in a custom view. In the current implementation, this cannot be achieved in a DRY fashion. Extracting the `ChangeList` instantiation into its own method allows this DRY reuse.

This also allows the test code to utilise consistent/DRY instantiation of `ChangeList` objects in place of the current hacks such as `admin_changelist.tests.get_changelist_args` -- see new pull request.
"	Cleanup/optimization	closed	contrib.admin	1.11	Normal	fixed			Ready for checkin	1	0	0	0	0	0
