﻿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
13075	BaseForm __init__ doesn't super and so breaks MI Mixins	gbauer	nobody	"BaseForm's __init__ method doesn't do a super(...) call to follow up the chain, which breaks writing mixins for ModelForms, as the chain is not followed to the classes to the right of the base classes:

class MyForm(ModelForm, ModelFormMixin):
   ... do stuff

Inheritance will follow ModelForm up the chain until it hits BaseForm and then stop following up further, but ModelFormMixin is in the __mro__ after the __mro__ of ModelForm and so will never looked at. Just adding a super(BaseForm, self).__init__(.....) to the BaseForm __init__ will work wonders there ...
"	Bug	closed	Forms	1.1	Normal	wontfix	mixins	me@… Łukasz Rekucki	Design decision needed	0	0	0	0	0	0
