Browse files

[1.2.X] Fixed #14791 - Clarify additional note on save(). Thanks OldT…


Backport of r14740 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 84e65e9 commit 1dd9c9c1fb9317a52461db4faa399211aeebdb34 @timgraham timgraham committed Nov 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/forms/modelforms.txt
@@ -241,7 +241,7 @@ supplied, ``save()`` will update that instance. If it's not supplied,
Note that ``save()`` will raise a ``ValueError`` if the data in the form
-doesn't validate -- i.e., ``if form.errors``.
+doesn't validate -- i.e., if form.errors evaluates to True.
This ``save()`` method accepts an optional ``commit`` keyword argument, which
accepts either ``True`` or ``False``. If you call ``save()`` with

0 comments on commit 1dd9c9c

Please sign in to comment.