﻿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
19425	Inline Admin does not allow extra to be a property	dave@…	nobody	"this line


{{{
if not isinstance( cls.extra, int ):
}}}

in 

django.contrib.admin.validation

causes this to fail

{{{
class MyInline( admin.StackedInline ):
    @property
    def extra( self ):
        if condition:
            return 3
        else:
            self.max_num = 0
            return 0

}}}

and should be updated to this accordingly


{{{
if not isinstance( cls.extra, int ) and not isinstance( cls.extra, property ):
}}}
"	Bug	closed	contrib.admin	1.4	Normal	fixed	inline dynamic extras	crodjer@… areski@…	Ready for checkin	1	1	0	0	1	0
