Ticket #14791: clarify_save.diff
File clarify_save.diff, 589 bytes (added by , 14 years ago) |
---|
-
docs/topics/forms/modelforms.txt
241 241 >>> f.save() 242 242 243 243 Note that ``save()`` will raise a ``ValueError`` if the data in the form 244 doesn't validate -- i.e., ``if form.errors``.244 doesn't validate -- i.e., if form.errors evaluates to True. 245 245 246 246 This ``save()`` method accepts an optional ``commit`` keyword argument, which 247 247 accepts either ``True`` or ``False``. If you call ``save()`` with