mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #26124 -- Added missing code formatting to docs headers.
This commit is contained in:
parent
8bf8d0e0ec
commit
a6ef025dfb
93 changed files with 1658 additions and 1625 deletions
|
@ -10,8 +10,8 @@ All of these fields and widgets are available from the
|
|||
Fields
|
||||
======
|
||||
|
||||
SimpleArrayField
|
||||
----------------
|
||||
``SimpleArrayField``
|
||||
--------------------
|
||||
|
||||
.. class:: SimpleArrayField(base_field, delimiter=',', max_length=None, min_length=None)
|
||||
|
||||
|
@ -82,8 +82,8 @@ SimpleArrayField
|
|||
however it is a useful way to format data from a client-side widget for
|
||||
submission to the server.
|
||||
|
||||
SplitArrayField
|
||||
---------------
|
||||
``SplitArrayField``
|
||||
-------------------
|
||||
|
||||
.. class:: SplitArrayField(base_field, size, remove_trailing_nulls=False)
|
||||
|
||||
|
@ -138,8 +138,8 @@ SplitArrayField
|
|||
['1', '', '3'] # -> [1, None, 3]
|
||||
['', '2', ''] # -> [None, 2]
|
||||
|
||||
HStoreField
|
||||
-----------
|
||||
``HStoreField``
|
||||
---------------
|
||||
|
||||
.. class:: HStoreField
|
||||
|
||||
|
@ -159,8 +159,8 @@ HStoreField
|
|||
valid for a given field. This can be done using the
|
||||
:class:`~django.contrib.postgres.validators.KeysValidator`.
|
||||
|
||||
JSONField
|
||||
---------
|
||||
``JSONField``
|
||||
-------------
|
||||
|
||||
.. class:: JSONField
|
||||
|
||||
|
@ -183,8 +183,8 @@ omitted value as an unbounded range. They also validate that the lower bound is
|
|||
not greater than the upper bound. All of these fields use
|
||||
:class:`~django.contrib.postgres.forms.RangeWidget`.
|
||||
|
||||
IntegerRangeField
|
||||
~~~~~~~~~~~~~~~~~
|
||||
``IntegerRangeField``
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. class:: IntegerRangeField
|
||||
|
||||
|
@ -193,8 +193,8 @@ IntegerRangeField
|
|||
:class:`~django.contrib.postgres.fields.IntegerRangeField` and
|
||||
:class:`~django.contrib.postgres.fields.BigIntegerRangeField`.
|
||||
|
||||
FloatRangeField
|
||||
~~~~~~~~~~~~~~~
|
||||
``FloatRangeField``
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. class:: FloatRangeField
|
||||
|
||||
|
@ -202,8 +202,8 @@ FloatRangeField
|
|||
:class:`~psycopg2:psycopg2.extras.NumericRange`. Default for
|
||||
:class:`~django.contrib.postgres.fields.FloatRangeField`.
|
||||
|
||||
DateTimeRangeField
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
``DateTimeRangeField``
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. class:: DateTimeRangeField
|
||||
|
||||
|
@ -211,8 +211,8 @@ DateTimeRangeField
|
|||
:class:`~psycopg2:psycopg2.extras.DateTimeTZRange`. Default for
|
||||
:class:`~django.contrib.postgres.fields.DateTimeRangeField`.
|
||||
|
||||
DateRangeField
|
||||
~~~~~~~~~~~~~~
|
||||
``DateRangeField``
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. class:: DateRangeField
|
||||
|
||||
|
@ -223,8 +223,8 @@ DateRangeField
|
|||
Widgets
|
||||
=======
|
||||
|
||||
RangeWidget
|
||||
-----------
|
||||
``RangeWidget``
|
||||
---------------
|
||||
|
||||
.. class:: RangeWidget(base_widget, attrs=None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue