summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2010-11-28 18:49:37 +0000
committerTimo Graham <timograham@gmail.com>2010-11-28 18:49:37 +0000
commit1dd9c9c1fb9317a52461db4faa399211aeebdb34 (patch)
tree675724da994f55041fe86bac59b8048883424d4f /docs
parent84e65e91a133fca585e21c87c777d1e87184b3a0 (diff)
[1.2.X] Fixed #14791 - Clarify additional note on save(). Thanks OldTroll.
Backport of r14740 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/forms/modelforms.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index 65bc0ea2ea..23ed9a79ae 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -241,7 +241,7 @@ supplied, ``save()`` will update that instance. If it's not supplied,
>>> f.save()
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