﻿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
29282	Admin checks raise TypeError if issubclass() receives a non-class	David Sanders	Sanyam Khurana	Admin checks include several calls to `issubclass` without a `try`/`catch`, allowing a `TypeError` to escape if the user provides a value that isn't a `class` for whatever is being checked. This seems like a sane-enough edge case to ensure the user gets a useful check failed message rather than an uncaught exception. My [https://github.com/django/django/pull/9844 PR] uses a helper function that catches the `TypeError` and returns `False` instead so that the half-dozen checks that use `issubclass` have minimal code change.	Bug	closed	contrib.admin	dev	Normal	fixed		Herbert Fortes	Ready for checkin	1	0	0	0	0	0
