﻿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
12238	ModelAdmin ignores dynamic fields of ModelForm	anonymous	nobody	"If a ModelForm is created and then modified to programatically add fields (say, in `__init__`), !ModelAdmin ignores these fields when rendering the form.  If one of these fields is added to the !ModelForm's `Meta`, the field shows up just fine.

I would expect the field to display without the coaxing in `Meta.fields`.

 1. Create a !ModelForm
 2. Add it to !ModelAdmin
 3. View Form
 4. Update !ModelForm's `__init__` to include `self.fields['xyz'] = forms.CharField(max_length=255, initial='keke')`
 5. View Form (note no change)
 6. Update !ModelForm's `Meta.fields` to include ""xyz""
 7. View Form (note the change)"		new	django.contrib.admin	1.1			modelform modeladmin dynamic field		Unreviewed	0	0	0	0		
