mirror of
https://github.com/django/django.git
synced 2025-06-06 12:09:11 +00:00
Made minor edits to form fields docs.
This commit is contained in:
parent
f223729f8f
commit
4fcbdb11b1
@ -112,7 +112,7 @@ validation may not be correct when adding and deleting formsets.
|
|||||||
The ``label`` argument lets you specify the "human-friendly" label for this
|
The ``label`` argument lets you specify the "human-friendly" label for this
|
||||||
field. This is used when the ``Field`` is displayed in a ``Form``.
|
field. This is used when the ``Field`` is displayed in a ``Form``.
|
||||||
|
|
||||||
As explained in "Outputting forms as HTML" above, the default label for a
|
As explained in :ref:`ref-forms-api-outputting-html`, the default label for a
|
||||||
``Field`` is generated from the field name by converting all underscores to
|
``Field`` is generated from the field name by converting all underscores to
|
||||||
spaces and upper-casing the first letter. Specify ``label`` if that default
|
spaces and upper-casing the first letter. Specify ``label`` if that default
|
||||||
behavior doesn't result in an adequate label.
|
behavior doesn't result in an adequate label.
|
||||||
@ -375,7 +375,7 @@ See the :doc:`validators documentation </ref/validators>` for more information.
|
|||||||
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 :doc:`format localization </topics/i18n/formatting>` documentation for
|
See the :doc:`format localization documentation </topics/i18n/formatting>` for
|
||||||
more information.
|
more information.
|
||||||
|
|
||||||
``disabled``
|
``disabled``
|
||||||
|
Loading…
x
Reference in New Issue
Block a user