Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…roll.

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
  • Loading branch information...
commit 1dd9c9c1fb9317a52461db4faa399211aeebdb34 1 parent 84e65e9
Tim Graham authored November 28, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/forms/modelforms.txt
2  docs/topics/forms/modelforms.txt
@@ -241,7 +241,7 @@ supplied, ``save()`` will update that instance. If it's not supplied,
241 241
     >>> f.save()
242 242
 
243 243
 Note that ``save()`` will raise a ``ValueError`` if the data in the form
244  
-doesn't validate -- i.e., ``if form.errors``.
  244
+doesn't validate -- i.e., if form.errors evaluates to True.
245 245
 
246 246
 This ``save()`` method accepts an optional ``commit`` keyword argument, which
247 247
 accepts either ``True`` or ``False``. If you call ``save()`` with

0 notes on commit 1dd9c9c

Please sign in to comment.
Something went wrong with that request. Please try again.