﻿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
10845	"The use of ""Instance"" in ""Creating Forms from Models"" is confusing."	ElfSternberg	Jacob	"In the section ""Using a subset of fields on a form,"" the example contains the text:

`instance = Instance(required_field='value')`[[BR]]
`form = InstanceForm(request.POST, instance=instance)`

The use of ""instance"" here as the lvalue of Instance is a poor choice.  For someone skimming through the article looking just for the syntax for a subset of fields on a form, and who may have missed the text earlier in the article about the instance keyword, this seems to imply that the keyword argument might be some lowercase variant of the Model name.  I strongly suggest an alternative example:

`example = Example(required_field='value')`[[BR]]
`form = ExampleForm(request.POST, instance=example)`

Which would make it much more clear that ""instance"" is the kwarg, and the kwarg is not generated dynamically."		closed	Documentation	1.0		fixed	grammar		Ready for checkin	1	0	0	0	0	0
