Ticket #13949: patch.diff

File patch.diff, 768 bytes (added by elbarto, 14 years ago)
  • docs/topics/forms/index.txt

     
    142142access ``form.cleaned_data``. This data has not only been validated but will
    143143also be converted in to the relevant Python types for you. In the above example,
    144144``cc_myself`` will be a boolean value. Likewise, fields such as ``IntegerField``
    145 and ``FloatField`` convert values to a Python int and float respectively.
     145and ``FloatField`` convert values to a Python int and float respectively. Note
     146that read-only fields are not available in ``form.cleaned_data``.
    146147
    147148Extending the above example, here's how the form data could be processed:
    148149
Back to Top