﻿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
15960	Allow SimpleListerFilter's lookups to be based on the available data	Julien Phalip	nobody	"Shortly after `SimpleListFilter` landed in [16144], there were talks on IRC with jezdez, carljm and apollo13 about allowing filter lookups to be based on the available data. Taking the `DecadeBornListFilter ` example from the doc (http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter), you might want to only display the lookups for the decades where people were actually born in. This requires the `lookups()` method to have access to the `ModelAdmin`'s queryset, somehow.

I'm attaching a patch with a suggested implementation."	New feature	closed	contrib.admin	1.3	Normal	fixed			Accepted	1	0	0	1	0	0
