Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #14791 - Clarify additional note on save(). Thanks OldTroll.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 22d4ecb19b378a717de41941571c55a05355b19e 1 parent 7a81ac5
Tim Graham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/modelforms.txt
2  docs/topics/forms/modelforms.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.