﻿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
3727	save_instance raises KeyError when form_from_{model,instance} is supplied a formfield_callback that does not return a formfield	Matias Hermanrud Fjeld <mhf@…>	Adrian Holovaty	"I have a custom user class:

{{{
#!python
class User(model.Model):
  first_name = models.CharField(maxlength=50)
  last_name = models.CharField(maxlength=50)
  [snip]
  company = models.ForeignKey(Company)
}}}

Users should be able to change all fields except company. Attached is a patch implementing an exclude-keyword to django.newforms.models.form_for_{model,instance}.

"		closed	Forms	dev		worksforme			Design decision needed	1	1	1	0	0	0
