Kaydet (Commit) a6b77abf authored tarafından I am Clinton's avatar I am Clinton Kaydeden (comit) Tim Graham

Fixed typos in docs/ref/forms/fields.txt

üst 4525a0c4
...@@ -293,7 +293,7 @@ See the :doc:`validators documentation </ref/validators>` for more information. ...@@ -293,7 +293,7 @@ See the :doc:`validators documentation </ref/validators>` for more information.
.. attribute:: Field.localize .. attribute:: Field.localize
The ``localize`` argument enables the localization of form data, input as well The ``localize`` argument enables the localization of form data input, as well
as the rendered output. as the rendered output.
See the :ref:`format localization <format-localization>` documentation for See the :ref:`format localization <format-localization>` documentation for
...@@ -653,7 +653,7 @@ For each field, we describe the default widget used if you don't specify ...@@ -653,7 +653,7 @@ For each field, we describe the default widget used if you don't specify
``False``, else :class:`TextInput`. ``False``, else :class:`TextInput`.
* Empty value: ``None`` * Empty value: ``None``
* Normalizes to: A Python float. * Normalizes to: A Python float.
* Validates that the given value is an float. Leading and trailing * Validates that the given value is a float. Leading and trailing
whitespace is allowed, as in Python's ``float()`` function. whitespace is allowed, as in Python's ``float()`` function.
* Error message keys: ``required``, ``invalid``, ``max_value``, * Error message keys: ``required``, ``invalid``, ``max_value``,
``min_value`` ``min_value``
...@@ -915,7 +915,7 @@ Slightly complex built-in ``Field`` classes ...@@ -915,7 +915,7 @@ Slightly complex built-in ``Field`` classes
* Default widget: :class:`TextInput` * Default widget: :class:`TextInput`
* Empty value: ``''`` (an empty string) * Empty value: ``''`` (an empty string)
* Normalizes to: A Unicode object. * Normalizes to: A Unicode object.
* Validates that the given value against each of the fields specified * Validates the given value against each of the fields specified
as an argument to the ``ComboField``. as an argument to the ``ComboField``.
* Error message keys: ``required``, ``invalid`` * Error message keys: ``required``, ``invalid``
...@@ -943,7 +943,7 @@ Slightly complex built-in ``Field`` classes ...@@ -943,7 +943,7 @@ Slightly complex built-in ``Field`` classes
* Default widget: :class:`TextInput` * Default widget: :class:`TextInput`
* Empty value: ``''`` (an empty string) * Empty value: ``''`` (an empty string)
* Normalizes to: the type returned by the ``compress`` method of the subclass. * Normalizes to: the type returned by the ``compress`` method of the subclass.
* Validates that the given value against each of the fields specified * Validates the given value against each of the fields specified
as an argument to the ``MultiValueField``. as an argument to the ``MultiValueField``.
* Error message keys: ``required``, ``invalid``, ``incomplete`` * Error message keys: ``required``, ``invalid``, ``incomplete``
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment