Commit 1dd9c9c1 authored by Timo Graham's avatar Timo Graham
Browse files

[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
parent 84e65e91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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