Kaydet (Commit) 22d4ecb1 authored tarafından Timo Graham's avatar Timo Graham

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
üst 7a81ac51
...@@ -241,7 +241,7 @@ supplied, ``save()`` will update that instance. If it's not supplied, ...@@ -241,7 +241,7 @@ supplied, ``save()`` will update that instance. If it's not supplied,
>>> f.save() >>> f.save()
Note that ``save()`` will raise a ``ValueError`` if the data in the form 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 This ``save()`` method accepts an optional ``commit`` keyword argument, which
accepts either ``True`` or ``False``. If you call ``save()`` with accepts either ``True`` or ``False``. If you call ``save()`` with
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment