﻿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
12915	formfield_callback is lost in an inherited ModelForm	Ilya Semenov	nobody	"Consider the following code:
{{{
#!python
class BaseTicketForm(forms.ModelForm):
    class Meta:
        fields = (...)
    formfield_callback = lambda f: ....

class AddTicketForm(BaseTicketForm):
    pass

class EditTicketForm(BaseTicketForm):
    # some logic related to editing tickets here
}}}

When an instance of AddTicketForm or EditTicketForm is created, a user would expect that formfield_callback is applied. However, the current implementation doesn't do that; instead, a user is forced to copy-paste formfield_callback to each and every derived class."	Bug	closed	Forms	1.1	Normal	duplicate		tom@… vlastimil.zima@…	Accepted	1	1	0	1	0	0
