﻿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
17828	Admin should not handle IncorrectLookupParameters if settings.DEBUG is set	Glenn Washburn <development@…>	Chris Adams	"Right now its difficult to debug exceptions raised in ListFilter code which raises an exception because the exception will be wrapped in an IncorrectLookupParameters exception, then caught by ModelAdmin.changelist_view which renders an uninformative invalid_setup.html template.

I propose adding in the except IncorrectLookupParameters block the following:
{{{
    if settings.DEBUG:
        raise
}}}
So that the main django exception handler can render the much more informative exception template.  I've tested this and it seems to work fine.
"	Cleanup/optimization	closed	contrib.admin	1.4-beta-1	Release blocker	fixed		chris@…	Ready for checkin	1	0	0	0	1	0
