Ticket #14791: clarify_save.diff

File clarify_save.diff, 589 bytes (added by OldTroll, 9 years ago)

Clarify the text about the save() method

  • docs/topics/forms/modelforms.txt

    241241    >>> f.save()
    243243Note that ``save()`` will raise a ``ValueError`` if the data in the form
    244 doesn't validate -- i.e., ``if form.errors``.
     244doesn't validate -- i.e., if form.errors evaluates to True.
    246246This ``save()`` method accepts an optional ``commit`` keyword argument, which
    247247accepts either ``True`` or ``False``. If you call ``save()`` with
Back to Top