mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
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
This commit is contained in:
parent
7a81ac5197
commit
22d4ecb19b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue