﻿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
4810	[newforms-admin] Bad check for model classes in AdminSite	James Bennett	Adrian Holovaty	"`AdminSite.register` and `AdminSite.unregister` both are meant to accept either a model class or a list of model classes, and differentiate the two by checking `issubclass(model_or_iterable, Model)`, but this will blow up on a list -- the first argument to `issubclass` must be a class.

One alternative might be to import `django.db.models.base.ModelBase` and use `isinstance(model_or_iterable, ModelBase)`."		closed	contrib.admin	newforms-admin		fixed			Ready for checkin	1	0	0	0	0	0
