Better ModelForm examples
|Reported by:||James Bennett||Owned by:||James Bennett|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The examples in docs/modelforms.txt show instantiation of a form, then jump straight to saving without calling
is_valid(). Several times now I've seen people assume that this means
is_valid() isn't needed or present on a
ModelForm, usually leading to attempts to save unvalidated data. The examples should be fleshed out a bit more to make this clear.