summaryrefslogtreecommitdiff
path: root/docs/ref/forms/fields.txt
diff options
context:
space:
mode:
authorantoliny0919 <antoliny0919@gmail.com>2024-11-04 09:10:58 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-11-04 10:15:20 +0100
commit4fcbdb11b114bc4d2dc50663f8053de2f18c0770 (patch)
treee33c5c72513efb0f15558e7335310951fa73c4dc /docs/ref/forms/fields.txt
parentf223729f8f8380901473b244c0fc7c7dc397e3f1 (diff)
Made minor edits to form fields docs.
Diffstat (limited to 'docs/ref/forms/fields.txt')
-rw-r--r--docs/ref/forms/fields.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index ac1df1bd86..3871e3e8e1 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -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
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
spaces and upper-casing the first letter. Specify ``label`` if that default
behavior doesn't result in an adequate label.
@@ -226,7 +226,7 @@ validation if a particular field's value is not given. ``initial`` values are
>>> f = CommentForm(data)
>>> f.is_valid()
False
- # The form does *not* fall back to using the initial values.
+ # The form does *not* fallback to using the initial values.
>>> f.errors
{'url': ['This field is required.'], 'name': ['This field is required.']}
@@ -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
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.
``disabled``