﻿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
3219	Invalid admin attribute should not cause a metaclass error	Robert Myers <myer0052@…>	Adrian Holovaty	"When a invalid admin attribute is used a metaclass error is raised.

Example:
{{{ 
    class BadAdminOption(models.Model):
        name = models.CharField(maxlength=30)
    
        class Admin:
            nonexistent = 'option'
}}}
Expecting Error::
{{{
    ""admin"" attribute, if given, must be set to a models.AdminOptions() instance.
}}}
Actual Error::
{{{
    Error when calling the metaclass bases
    __init__() got an unexpected keyword argument 'nonexistent'
}}}"	defect	closed	Core (Other)		normal	wontfix		myer0052@…	Unreviewed	0	0	0	0		
