Changeset 5691
- Timestamp:
- 07/13/07 16:20:07 (1 year ago)
- Files:
-
- django/trunk/docs/newforms.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/newforms.txt
r5609 r5691 1496 1496 doesn't validate -- i.e., ``if form.errors``. 1497 1497 1498 This ``save()`` method accepts an optional ``commit`` keyword argument, which 1499 accepts either ``True`` or ``False``. If you call ``save()`` with 1500 ``commit=False``, then it will return an object that hasn't yet been saved to 1501 the database. In this case, it's up to you to call ``save()`` on the resulting 1502 model instance. This is useful if you want to do custom processing on the 1503 object before saving it. ``commit`` is ``True`` by default. 1504 1498 1505 Using an alternate base class 1499 1506 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
