From a6b77abff75709ee09a0d31d450af601f1f806d9 Mon Sep 17 00:00:00 2001 From: I am Clinton Date: Mon, 25 May 2015 09:13:01 -0500 Subject: [PATCH] Fixed typos in docs/ref/forms/fields.txt --- docs/ref/forms/fields.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index c25fe5533d..c53d4f2e08 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -293,7 +293,7 @@ See the :doc:`validators documentation ` for more information. .. 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. See the :ref:`format localization ` documentation for @@ -653,7 +653,7 @@ For each field, we describe the default widget used if you don't specify ``False``, else :class:`TextInput`. * Empty value: ``None`` * 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. * Error message keys: ``required``, ``invalid``, ``max_value``, ``min_value`` @@ -915,7 +915,7 @@ Slightly complex built-in ``Field`` classes * Default widget: :class:`TextInput` * Empty value: ``''`` (an empty string) * 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``. * Error message keys: ``required``, ``invalid`` @@ -943,7 +943,7 @@ Slightly complex built-in ``Field`` classes * Default widget: :class:`TextInput` * Empty value: ``''`` (an empty string) * 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``. * Error message keys: ``required``, ``invalid``, ``incomplete``