Kaydet (Commit) 135a9e4f authored tarafından Claude Paroz's avatar Claude Paroz

Added some more links in form field docs

üst 8e8c0792
...@@ -790,7 +790,7 @@ For each field, we describe the default widget used if you don't specify ...@@ -790,7 +790,7 @@ For each field, we describe the default widget used if you don't specify
The ``invalid_choice`` error message may contain ``%(value)s``, which will be The ``invalid_choice`` error message may contain ``%(value)s``, which will be
replaced with the selected choice. replaced with the selected choice.
Takes one extra required argument, ``choices``, as for ``ChoiceField``. Takes one extra required argument, ``choices``, as for :class:`ChoiceField`.
``TypedMultipleChoiceField`` ``TypedMultipleChoiceField``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...@@ -811,7 +811,8 @@ For each field, we describe the default widget used if you don't specify ...@@ -811,7 +811,8 @@ For each field, we describe the default widget used if you don't specify
The ``invalid_choice`` error message may contain ``%(value)s``, which will be The ``invalid_choice`` error message may contain ``%(value)s``, which will be
replaced with the selected choice. replaced with the selected choice.
Takes two extra arguments, ``coerce`` and ``empty_value``, as for ``TypedChoiceField``. Takes two extra arguments, ``coerce`` and ``empty_value``, as for
:class:`TypedChoiceField`.
``NullBooleanField`` ``NullBooleanField``
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
...@@ -843,7 +844,7 @@ For each field, we describe the default widget used if you don't specify ...@@ -843,7 +844,7 @@ For each field, we describe the default widget used if you don't specify
expression object. expression object.
Also takes ``max_length``, ``min_length``, and ``strip``, which work just Also takes ``max_length``, ``min_length``, and ``strip``, which work just
as they do for ``CharField``. as they do for :class:`CharField`.
.. attribute:: strip .. attribute:: strip
...@@ -1076,7 +1077,7 @@ Slightly complex built-in ``Field`` classes ...@@ -1076,7 +1077,7 @@ Slightly complex built-in ``Field`` classes
``datetime.date`` object. ``datetime.date`` object.
If no ``input_date_formats`` argument is provided, the default input formats If no ``input_date_formats`` argument is provided, the default input formats
for ``DateField`` are used. for :class:`DateField` are used.
.. attribute:: input_time_formats .. attribute:: input_time_formats
...@@ -1084,7 +1085,7 @@ Slightly complex built-in ``Field`` classes ...@@ -1084,7 +1085,7 @@ Slightly complex built-in ``Field`` classes
``datetime.time`` object. ``datetime.time`` object.
If no ``input_time_formats`` argument is provided, the default input formats If no ``input_time_formats`` argument is provided, the default input formats
for ``TimeField`` are used. for :class:`TimeField` are used.
Fields which handle relationships Fields which handle relationships
--------------------------------- ---------------------------------
......
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