Changeset 7300
- Timestamp:
- 03/18/08 14:02:24 (8 months ago)
- Files:
-
- django/trunk/docs/newforms.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/newforms.txt
r7298 r7300 1597 1597 These methods are run in the order given above, one field at a time. That is, 1598 1598 for each field in the form (in the order they are declared in the form 1599 definition), the ``Field.clean()`` method (or it 's override) is run, then1599 definition), the ``Field.clean()`` method (or its override) is run, then 1600 1600 ``clean_<fieldname>()``. Finally, once those two methods are run for every 1601 field, the ``Form.clean()`` method, or it 's override, is executed.1601 field, the ``Form.clean()`` method, or its override, is executed. 1602 1602 1603 1603 As mentioned above, any of these methods can raise a ``ValidationError``. For … … 1721 1721 1722 1722 This form will include three default TextInput widgets, with default rendering - 1723 no CSS class, no extra attributes. This means that the input sboxes provided for1723 no CSS class, no extra attributes. This means that the input boxes provided for 1724 1724 each widget will be rendered exactly the same:: 1725 1725
