Ticket #13949: patch.diff
File patch.diff, 768 bytes (added by , 14 years ago) |
---|
-
docs/topics/forms/index.txt
142 142 access ``form.cleaned_data``. This data has not only been validated but will 143 143 also be converted in to the relevant Python types for you. In the above example, 144 144 ``cc_myself`` will be a boolean value. Likewise, fields such as ``IntegerField`` 145 and ``FloatField`` convert values to a Python int and float respectively. 145 and ``FloatField`` convert values to a Python int and float respectively. Note 146 that read-only fields are not available in ``form.cleaned_data``. 146 147 147 148 Extending the above example, here's how the form data could be processed: 148 149