﻿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
26816	BaseModelAdminChecks._check_inlines_item may raise AttributeError	Keryn Knight	Berker Peksag	"given something like:
{{{
class MyInline(object): pass

class MyModelAdmin(admin.ModelAdmin):
    inlines = [MyInline]
}}}
'''admin.E104''' will be added to the error stack because its not a subclass (ugh) of BaseModelAdmin.

changing to:
{{{
class MyInline(BaseModelAdmin): pass
}}}
will throw:
{{{
AttributeError: type object 'MyInline'  has no attribute 'model'
}}}
because its not until `ModelAdmin` or `InlineModelAdmin` that the attribute is set (in `__init__` for `ModelAdmin`, as a class attribute for `InlineModelAdmin`)

Encountered on 1.9, but looks to be the same in master.

"	Bug	closed	Core (System checks)	1.9	Normal	fixed		django@… berker.peksag@…	Accepted	1	0	0	0	0	0
